summaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-08-01 14:42:05 +0300
committerLee Jones <lee@kernel.org>2022-09-28 16:09:49 +0100
commitcae02b7a5d908df3529432ead6f0a659c625a261 (patch)
tree231d8c3f3eefeee436803a0ddd4ed5e8e01da0b6 /mm/swap.c
parent81f22f284c0fe59b480492c3ecbdfd0dfa96d4b3 (diff)
downloadlinux-stable-cae02b7a5d908df3529432ead6f0a659c625a261.tar.gz
linux-stable-cae02b7a5d908df3529432ead6f0a659c625a261.tar.bz2
linux-stable-cae02b7a5d908df3529432ead6f0a659c625a261.zip
mfd: intel_soc_pmic_crc: Use devm_regmap_add_irq_chip()
Use devm_regmap_add_irq_chip() to simplify the code. While at it, replace -1 magic parameter by PLATFORM_DEVID_NONE when calling mfd_add_devices(). Note, the mfd_add_devices() left in non-devm variant here due to potentially increased churn while wrapping pwm_remove_table(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20220801114211.36267-4-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions