acrn-kernel/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
..
Kconfig Updates for the interrupt core and driver subsystem: 2022-12-12 11:21:29 -08:00
Makefile
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
knav_dma.c soc: ti: Use of_property_read_bool() for boolean properties 2023-03-11 05:57:07 -06:00
knav_qmss.h
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
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
smartreflex.c soc: ti: smartreflex: Simplify getting the opam_sr pointer 2023-04-14 18:03:06 +02:00
ti_sci_inta_msi.c
ti_sci_pm_domains.c
wkup_m3_ipc.c soc: ti: Use devm_platform_ioremap_resource() 2023-03-28 06:23:42 -05:00