/* Convenience function to get the device type (flash or hp8200)  */
static int usbat_get_device_type(struct us_data *us)
/* Convenience function to get the device type (flash or hp8200)  */
static int usbat_get_device_type(struct us_data *us)
{
	return ((struct usbat_info*)us->extra)->devicetype;
}