mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
35bc3efb31
While there is probably only ever a single instance of such a pcmtst device, it's still bad style to use a static variable to store per device data. Make use of platform_get_drvdata() and platform_set_drvdata() which fixes a data corruption if there should be two or more such devices (or this driver is used as a template for another driver). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Ivan Orlov <ivan.orlov0322@gmail.com> Link: https://lore.kernel.org/r/20230707075058.3402832-2-u.kleine-koenig@pengutronix.de Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
mpu401 | ||
opl3 | ||
opl4 | ||
pcsp | ||
vx | ||
aloop.c | ||
dummy.c | ||
Kconfig | ||
Makefile | ||
mtpav.c | ||
mts64.c | ||
pcmtest.c | ||
portman2x4.c | ||
serial-generic.c | ||
serial-u16550.c | ||
virmidi.c |