diff options
| author | Douglas Anderson <[email protected]> | 2021-07-20 09:07:49 -0700 | 
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2021-07-28 11:48:49 +0200 | 
| commit | 25ddd7cfc582d6001c3b9e18e96c9b3a58523d66 (patch) | |
| tree | 56fd96dd62b6eb4543b20a10ae62db0d1c1c6e9b /scripts/gdb/linux/dmesg.py | |
| parent | 18eeef46d3593e3bc3d6a8f7a6f94ace356578ff (diff) | |
HID: i2c-hid: goodix: Use the devm variant of regulator_register_notifier()
In commit 18eeef46d359 ("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: 18eeef46d359 ("HID: i2c-hid: goodix: Tie the reset line to true state of the regulator")
Signed-off-by: Douglas Anderson <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions