summaryrefslogtreecommitdiff
path: root/scripts/mkcompile_h
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2021-02-06 16:13:48 +0100
committerJiri Kosina <jkosina@suse.cz>2021-03-08 17:16:03 +0100
commite71da1fd0e84bc5c87a78b405e40713840eecc80 (patch)
treea2fe6e0fde7924f1f3b8e365870b893a94728b9e /scripts/mkcompile_h
parent7c746603b5c58939ec823cff5dca3894cc3afb3b (diff)
HID: intel-ish-hid: Make remove callback return void
The driver core ignores the return value of struct bus_type::remove() because there is only little that can be done. To simplify the quest to make this function return void, let struct ishtp_cl_driver::remove() return void, too. All users already unconditionally return 0, this commit makes it obvious that returning an error value is a bad idea. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions