Re: [PATCH 3/4] iio: merge hid-sensor-attributes.h into hid-sensor-hub.h
From: Alexander Holler
Date: Wed Dec 12 2012 - 15:10:13 EST
Am 12.12.2012 16:45, schrieb Pandruvada, Srinivas:
One minor comment.
+/* hid-sensor-attributes */
+
+/* Common hid sensor iio structure */
+struct hid_sensor_iio_common {
+ struct hid_sensor_hub_device *hsdev;
+ struct platform_device *pdev;
+ unsigned usage_id;
+ bool data_ready;
+ struct hid_sensor_hub_attribute_info poll;
+ struct hid_sensor_hub_attribute_info report_state;
+ struct hid_sensor_hub_attribute_info power_state;
+ struct hid_sensor_hub_attribute_info sensitivity; };
<Since it is not common to iio only, we should also remove iio in the structure name. >
Ok, I play the patch-monkey and will send a patch 5/4.
Alexander
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/