linux/drivers/soc/ti
Uwe Kleine-König 04523aceae soc: ti: smartreflex: Simplify getting the opam_sr pointer
The probe function stores the sr_info pointer using
platform_set_drvdata(). Use the corresponding platform_get_drvdata() to
retrieve that pointer in the remove and shutdown functions.

This simplifies these functions and makes error handling unnecessary.
This is a good thing as at least for .remove() returning an error code
doesn't have the desired effect.

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-04-14 18:03:06 +02:00
..
k3-ringacc.c soc: ti: k3-ringacc: Add try_module_get() to k3_dmaring_request_dual_ring() 2023-03-08 01:06:30 -06:00
k3-socinfo.c soc: ti: k3-socinfo: Add entry for J784S4 SOC 2023-03-20 12:36:42 -05:00
Kconfig Updates for the interrupt core and driver subsystem: 2022-12-12 11:21:29 -08:00
knav_dma.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss_acc.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss_queue.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
omap_prm.c soc: ti: Use of_property_present() for testing DT property presence 2023-03-11 05:56:54 -06:00
pm33xx.c soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe 2023-03-08 01:39:04 -06:00
pruss.c soc: ti: pruss: Enable support for PRUSS-M subsystem on K3 AM62x SoCs 2022-07-06 19:34:45 -05:00
smartreflex.c soc: ti: smartreflex: Simplify getting the opam_sr pointer 2023-04-14 18:03:06 +02:00
ti_sci_inta_msi.c oc: ti: ti_sci_inta_msi: Switch to domain id aware MSI functions 2022-12-05 19:21:00 +01:00
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc 2022-04-15 14:59:23 -05:00
wkup_m3_ipc.c soc: ti: Use devm_platform_ioremap_resource() 2023-03-28 06:23:42 -05:00