diff options
author | Douglas Anderson <dianders@chromium.org> | 2023-07-27 10:16:34 -0700 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2023-08-01 07:40:19 -0700 |
commit | d93d28477222d7cccd8a260c041561992f979dda (patch) | |
tree | ddc182edb2a4133cebd08751d21544c996d48cff /drivers/hid/i2c-hid/Kconfig | |
parent | 675cd877c952bcd0692016327230c38a16cbf33d (diff) | |
download | linux-stable-d93d28477222d7cccd8a260c041561992f979dda.tar.gz linux-stable-d93d28477222d7cccd8a260c041561992f979dda.tar.bz2 linux-stable-d93d28477222d7cccd8a260c041561992f979dda.zip |
HID: i2c-hid: Make suspend and resume into helper functions
In a future patch we'd like to be able to call the current i2c-hid
suspend and resume functions from times other than system
suspend. Move the functions higher up in the file and have them take a
"struct i2c_hid" to make this simpler. We'll then add tiny wrappers of
the functions for use with system suspend.
This change is expected to have no functional effect.
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230727101636.v4.7.I5c9894789b8b02f029bf266ae9b4f43c7907a173@changeid
Diffstat (limited to 'drivers/hid/i2c-hid/Kconfig')
0 files changed, 0 insertions, 0 deletions