mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
HID: i2c-hid: goodix: Use the devm variant of regulator_register_notifier()
In commit18eeef46d3("HID: i2c-hid: goodix: Tie the reset line to true state of the regulator") I added a call to regulator_register_notifier() but no call to unregister. That's a bug. Let's use the devm variant to handle the unregistering. Fixes:18eeef46d3("HID: i2c-hid: goodix: Tie the reset line to true state of the regulator") Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
18eeef46d3
commit
25ddd7cfc5
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue