firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs
authorEvgeny Bachinin <EABachinin@salutedevices.com>
Wed, 8 Nov 2023 12:56:03 +0000 (15:56 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 27 Nov 2023 08:17:51 +0000 (09:17 +0100)
commitd397965e584e0f2c6193b927c1e7693d514a6738
treef333e00b1e045ca6b9a592c659ae2eaed4e35b06
parentb85ea95d086471afb4ad062012a4d73cd328fa86
firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs

Introduce just another way to register sysfs serial entry:
the less code, the better in the absence of extra error-paths

Signed-off-by: Evgeny Bachinin <EABachinin@salutedevices.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231108125604.162383-2-EABachinin@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/firmware/meson/meson_sm.c