2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/powerpc/platforms/8xx
Andy Shevchenko 34064c8267 powerpc/8xx: Drop legacy-of-mm-gpiochip.h header
Remove legacy-of-mm-gpiochip.h header file. The above mentioned
file provides an OF API that's deprecated. There is no agnostic
alternatives to it and we have to open code the logic which was
hidden behind of_mm_gpiochip_add_data(). Note, most of the GPIO
drivers are using their own labeling schemas and resource retrieval
that only a few may gain of the code deduplication, so whenever
alternative is appear we can move drivers again to use that one.

As a side effect this change fixes a potential memory leak on
an error path, if of_mm_gpiochip_add_data() fails.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241118123254.620519-1-andriy.shevchenko@linux.intel.com
2024-12-16 13:45:27 +05:30
..
adder875.c powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
cpm1-ic.c powerpc/8xx: Use kmalloced data structure instead of global static 2022-05-11 23:06:40 +10:00
cpm1.c powerpc/8xx: Drop legacy-of-mm-gpiochip.h header 2024-12-16 13:45:27 +05:30
ep88xc.c powerpc/platforms: Use 'compatible' property for simple cases 2023-03-15 00:52:10 +11:00
Kconfig Revert "powerpc/8xx: Always pin kernel text TLB" 2024-08-30 21:29:52 +10:00
m8xx_setup.c powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error 2023-08-18 17:03:14 +10:00
machine_check.c powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
Makefile powerpc/8xx: Move CPM interrupt controller into a dedicated file 2022-05-11 23:06:39 +10:00
micropatch.c powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-09 17:00:54 +11:00
mpc8xx.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
mpc86xads_setup.c powerpc/include: Declare mpc8xx_immr in 8xx_immap.h 2023-08-16 23:54:47 +10:00
mpc86xads.h
mpc885ads_setup.c TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
mpc885ads.h
pic.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
pic.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
tqm8xx_setup.c TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00