aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-03-18 20:00:54 +0000
committerRafael J. Wysocki <[email protected]>2019-04-01 08:55:56 +0000
commit817b4d64da036f5559297a2fdb82b8b14f4ffdcd (patch)
treefa02639adb2da258699965d4e2c222d38f0edca5 /lib/string_helpers.c
parentLinux 5.1-rc3 (diff)
downloadkernel-817b4d64da036f5559297a2fdb82b8b14f4ffdcd.tar.gz
kernel-817b4d64da036f5559297a2fdb82b8b14f4ffdcd.zip
ACPI / utils: Introduce acpi_dev_get_first_match_dev() helper
The acpi_dev_get_first_match_name() is missing put_device() call and thus keeping reference counting unbalanced. In order to fix the issue introduce a new helper to convert existing users one-by-one to a better API. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions