OSDN Git Service

ALSA: aoa: Remove direct OF name and type accesses
authorRob Herring <robh@kernel.org>
Wed, 5 Dec 2018 19:50:48 +0000 (13:50 -0600)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Dec 2018 09:54:28 +0000 (10:54 +0100)
commit192a7122954001af2504a9abecfc0ad28532a6ee
tree8adeedb9898c5b79e25ccb8d292ff732c48fb463
parent917bb90c65da91719d9f2b8b6d8683c49c988553
ALSA: aoa: Remove direct OF name and type accesses

Convert soundbus uevent and sysfs OF node name and device type usage to
use printf specifier and helper functions instead of directly accessing
the name and type pointers. This will allow the eventual removal of the
pointers.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/core.c
sound/aoa/soundbus/sysfs.c