platform: arm64: lenovo-yoga-c630: use the auxiliary device creation helper
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 10 Jun 2025 08:41:07 +0000 (10:41 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 13 Jun 2025 09:33:30 +0000 (12:33 +0300)
commitd2b16853ad704ac7e1550d6faacdc53925494ebf
tree3c8383c028837e0a9a824cafad83cd5c17fc470a
parentdce77641056ea4fb2efab0a66d6929a5008d7235
platform: arm64: lenovo-yoga-c630: use the auxiliary device creation helper

The auxiliary device creation of this driver is simple enough to
use the available auxiliary device creation helper.

Use it and remove some boilerplate code.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20250610-yoga-aux-v1-1-d6115aa1683c@baylibre.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/arm64/lenovo-yoga-c630.c