diff mbox series

[v2,2/2] HID: intel-ish-hid: fix wrong driver_data setting

Message ID 1559113257-19432-2-git-send-email-hyungwoo.yang@intel.com (mailing list archive)
State Superseded
Delegated to: Jiri Kosina
Headers show
Series [v2,1/2] HID: intel-ish-hid: fix wrong type conversion | expand

Commit Message

Hyungwoo Yang May 29, 2019, 7 a.m. UTC
driver_data of ishtp client device should be owned by
corresponding ishtp client driver. Bus shouldn't set it.

Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
 drivers/hid/intel-ish-hid/ishtp/bus.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series


diff --git a/drivers/hid/intel-ish-hid/ishtp/bus.c b/drivers/hid/intel-ish-hid/ishtp/bus.c
index 5beea44..4afe2a5 100644
--- a/drivers/hid/intel-ish-hid/ishtp/bus.c
+++ b/drivers/hid/intel-ish-hid/ishtp/bus.c
@@ -479,7 +479,6 @@  static struct ishtp_cl_device *ishtp_bus_add_device(struct ishtp_device *dev,
 	ishtp_device_ready = true;
-	dev_set_drvdata(&device->dev, device);
 	return device;