diff options
Diffstat (limited to 'drivers/hid/hid-sensor-hub.c')
-rw-r--r-- | drivers/hid/hid-sensor-hub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 90116ee1624e..92870cdb52d9 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c | |||
@@ -660,8 +660,8 @@ static int sensor_hub_probe(struct hid_device *hdev, | |||
660 | GFP_KERNEL); | 660 | GFP_KERNEL); |
661 | if (sd->hid_sensor_hub_client_devs == NULL) { | 661 | if (sd->hid_sensor_hub_client_devs == NULL) { |
662 | hid_err(hdev, "Failed to allocate memory for mfd cells\n"); | 662 | hid_err(hdev, "Failed to allocate memory for mfd cells\n"); |
663 | ret = -ENOMEM; | 663 | ret = -ENOMEM; |
664 | goto err_stop_hw; | 664 | goto err_stop_hw; |
665 | } | 665 | } |
666 | 666 | ||
667 | for (i = 0; i < hdev->maxcollection; ++i) { | 667 | for (i = 0; i < hdev->maxcollection; ++i) { |
@@ -698,8 +698,8 @@ static int sensor_hub_probe(struct hid_device *hdev, | |||
698 | collection->usage); | 698 | collection->usage); |
699 | if (name == NULL) { | 699 | if (name == NULL) { |
700 | hid_err(hdev, "Failed MFD device name\n"); | 700 | hid_err(hdev, "Failed MFD device name\n"); |
701 | ret = -ENOMEM; | 701 | ret = -ENOMEM; |
702 | goto err_stop_hw; | 702 | goto err_stop_hw; |
703 | } | 703 | } |
704 | sd->hid_sensor_hub_client_devs[ | 704 | sd->hid_sensor_hub_client_devs[ |
705 | sd->hid_sensor_client_cnt].name = name; | 705 | sd->hid_sensor_client_cnt].name = name; |