aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2013-12-20 10:35:07 +0100
committerLee Jones <[email protected]>2014-01-21 08:28:13 +0000
commit74142ffc0b52cfe6f9d2f6f34a5f3eedbfe3ce51 (patch)
tree27de20c48b1c7babb9cb3891eaa1867c42ed7c99 /lib/cpu-notifier-error-inject.c
parentf876a975a05a2dffb4f1a4f07b81b212d9d8db01 (diff)
mfd: max77686: Fix regmap resource leak on driver remove
The regmap used by max77686 MFD driver was not freed with regmap_exit() on driver exit. This lead to leak of resources. Replace regmap_init_i2c() call in driver probe with initialization of managed register map so the regmap will be properly freed by the device management code. Cc: [email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions