summaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid/Kconfig
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-07-27 10:16:34 -0700
committerDouglas Anderson <dianders@chromium.org>2023-08-01 07:40:19 -0700
commitd93d28477222d7cccd8a260c041561992f979dda (patch)
treeddc182edb2a4133cebd08751d21544c996d48cff /drivers/hid/i2c-hid/Kconfig
parent675cd877c952bcd0692016327230c38a16cbf33d (diff)
downloadlinux-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