mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
04523aceae
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> |
||
---|---|---|
.. | ||
k3-ringacc.c | ||
k3-socinfo.c | ||
Kconfig | ||
knav_dma.c | ||
knav_qmss_acc.c | ||
knav_qmss_queue.c | ||
knav_qmss.h | ||
Makefile | ||
omap_prm.c | ||
pm33xx.c | ||
pruss.c | ||
smartreflex.c | ||
ti_sci_inta_msi.c | ||
ti_sci_pm_domains.c | ||
wkup_m3_ipc.c |