diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:11:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:11:44 -0500 |
commit | b5c78e04dd061b776978dad61dd85357081147b0 (patch) | |
tree | 2416b2dc61c452c3aeb2a32bcedf15e6257be638 /drivers/iio/magnetometer/hid-sensor-magn-3d.c | |
parent | 06991c28f37ad68e5c03777f5c3b679b56e3dac1 (diff) | |
parent | 951348b377385475aa256c27e1c9e2564c9ec160 (diff) |
Merge tag 'staging-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging tree update from Greg Kroah-Hartman:
"Here's the big staging tree merge for 3.9-rc1
Lots of cleanups and updates for drivers all through the staging tree.
We are pretty much "code neutral" here, adding just about as many
lines as we removed.
All of these have been in linux-next for a while."
* tag 'staging-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (804 commits)
staging: comedi: vmk80xx: wait for URBs to complete
staging: comedi: drivers: addi-data: hwdrv_apci3200.c: Add a missing semicolon
staging: et131x: Update TODO list
staging: et131x: Remove assignment of skb->dev
staging: wlan-ng: hfa384x.h: fix for error reported by smatch
staging/zache checkpatch ERROR: spaces prohibited around that
staging/ozwpan: Mark read only parameters and structs as const
staging/ozwpan: Remove empty and unused function oz_cdev_heartbeat
staging/ozwpan: Mark local functions as static (fix sparse warnings)
staging/ozwpan: Add missing header includes
staging/usbip: Mark local functions as static (fix sparse warnings)
staging/xgifb: Remove duplicated code in loops.
staging/xgifb: Consolidate return paths
staging/xgifb: Remove code without effect
staging/xgifb: Remove unnecessary casts
staging/xgifb: Consolidate if/else if with identical code branches
staging: vt6656: replaced custom TRUE definition with true
staging: vt6656: replaced custom FALSE definition with false
staging: vt6656: replace custom BOOL definition with bool
staging/rtl8187se: Mark functions as static to silence sparse
...
Diffstat (limited to 'drivers/iio/magnetometer/hid-sensor-magn-3d.c')
-rw-r--r-- | drivers/iio/magnetometer/hid-sensor-magn-3d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/magnetometer/hid-sensor-magn-3d.c index 7ac2c7483ba8..d8d01265220b 100644 --- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c +++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/iio/buffer.h> | 28 | #include <linux/iio/buffer.h> |
29 | #include <linux/iio/trigger_consumer.h> | 29 | #include <linux/iio/trigger_consumer.h> |
30 | #include <linux/iio/triggered_buffer.h> | 30 | #include <linux/iio/triggered_buffer.h> |
31 | #include "../common/hid-sensors/hid-sensor-attributes.h" | ||
32 | #include "../common/hid-sensors/hid-sensor-trigger.h" | 31 | #include "../common/hid-sensors/hid-sensor-trigger.h" |
33 | 32 | ||
34 | /*Format: HID-SENSOR-usage_id_in_hex*/ | 33 | /*Format: HID-SENSOR-usage_id_in_hex*/ |
@@ -44,7 +43,7 @@ enum magn_3d_channel { | |||
44 | 43 | ||
45 | struct magn_3d_state { | 44 | struct magn_3d_state { |
46 | struct hid_sensor_hub_callbacks callbacks; | 45 | struct hid_sensor_hub_callbacks callbacks; |
47 | struct hid_sensor_iio_common common_attributes; | 46 | struct hid_sensor_common common_attributes; |
48 | struct hid_sensor_hub_attribute_info magn[MAGN_3D_CHANNEL_MAX]; | 47 | struct hid_sensor_hub_attribute_info magn[MAGN_3D_CHANNEL_MAX]; |
49 | u32 magn_val[MAGN_3D_CHANNEL_MAX]; | 48 | u32 magn_val[MAGN_3D_CHANNEL_MAX]; |
50 | }; | 49 | }; |