aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-01-24 15:49:18 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-24 15:49:18 -0500
commita32f7d1ad3744914273c6907204c2ab3b5d496a0 (patch)
tree1c5ae321ee85665707177547c07810ff7e09e1ab /drivers/hid
parent6b9e50c463efc5c361496ae6a895cc966ff8025b (diff)
parent68d6f84ba0c47e658beff3a4bf0c43acee4b4690 (diff)
Merge branch 'v4l_for_linus' into staging/for_v3.9
* v4l_for_linus: (464 commits) [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures [media] uvcvideo: Cleanup leftovers of partial revert [media] uvcvideo: Return -EACCES when trying to set a read-only control Linux 3.8-rc3 mm: reinstante dropped pmd_trans_splitting() check cred: Remove tgcred pointer from struct cred drm/ttm: fix fence locking in ttm_buffer_object_transfer ARM: clps711x: Fix bad merge of clockevents setup ARM: highbank: save and restore L2 cache and GIC on suspend ARM: highbank: add a power request clear ARM: highbank: fix secondary boot and hotplug ARM: highbank: fix typos with hignbank in power request functions ARM: dts: fix highbank cpu mpidr values ARM: dts: add device_type prop to cpu nodes on Calxeda platforms drm/prime: drop reference on imported dma-buf come from gem xen/netfront: improve truesize tracking ARM: mx5: Fix MX53 flexcan2 clock ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array sctp: fix Kconfig bug in default cookie hmac selection EDAC: Cleanup device deregistering path ... Conflicts: drivers/media/pci/dm1105/dm1105.c drivers/media/platform/soc_camera/mx2_camera.c
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 9ef222442ca0..12e4fdc810bf 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -731,7 +731,7 @@ static struct hid_ll_driver i2c_hid_ll_driver = {
731 .hidinput_input_event = i2c_hid_hidinput_input_event, 731 .hidinput_input_event = i2c_hid_hidinput_input_event,
732}; 732};
733 733
734static int __devinit i2c_hid_init_irq(struct i2c_client *client) 734static int i2c_hid_init_irq(struct i2c_client *client)
735{ 735{
736 struct i2c_hid *ihid = i2c_get_clientdata(client); 736 struct i2c_hid *ihid = i2c_get_clientdata(client);
737 int ret; 737 int ret;
@@ -753,7 +753,7 @@ static int __devinit i2c_hid_init_irq(struct i2c_client *client)
753 return 0; 753 return 0;
754} 754}
755 755
756static int __devinit i2c_hid_fetch_hid_descriptor(struct i2c_hid *ihid) 756static int i2c_hid_fetch_hid_descriptor(struct i2c_hid *ihid)
757{ 757{
758 struct i2c_client *client = ihid->client; 758 struct i2c_client *client = ihid->client;
759 struct i2c_hid_desc *hdesc = &ihid->hdesc; 759 struct i2c_hid_desc *hdesc = &ihid->hdesc;
@@ -810,8 +810,8 @@ static int __devinit i2c_hid_fetch_hid_descriptor(struct i2c_hid *ihid)
810 return 0; 810 return 0;
811} 811}
812 812
813static int __devinit i2c_hid_probe(struct i2c_client *client, 813static int i2c_hid_probe(struct i2c_client *client,
814 const struct i2c_device_id *dev_id) 814 const struct i2c_device_id *dev_id)
815{ 815{
816 int ret; 816 int ret;
817 struct i2c_hid *ihid; 817 struct i2c_hid *ihid;
@@ -902,7 +902,7 @@ err:
902 return ret; 902 return ret;
903} 903}
904 904
905static int __devexit i2c_hid_remove(struct i2c_client *client) 905static int i2c_hid_remove(struct i2c_client *client)
906{ 906{
907 struct i2c_hid *ihid = i2c_get_clientdata(client); 907 struct i2c_hid *ihid = i2c_get_clientdata(client);
908 struct hid_device *hid; 908 struct hid_device *hid;
@@ -967,7 +967,7 @@ static struct i2c_driver i2c_hid_driver = {
967 }, 967 },
968 968
969 .probe = i2c_hid_probe, 969 .probe = i2c_hid_probe,
970 .remove = __devexit_p(i2c_hid_remove), 970 .remove = i2c_hid_remove,
971 971
972 .id_table = i2c_hid_id_table, 972 .id_table = i2c_hid_id_table,
973}; 973};