]> Gentwo Git Trees - linux/.git/commit
driver core: auxiliary bus: add device creation helpers
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 18 Feb 2025 19:29:46 +0000 (20:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 13:20:37 +0000 (15:20 +0200)
commiteaa0d30216c1d54b157ea0ad7f35ba76f6e9a825
treeb5796d45d1695f0e30223f267c2abac5a5c77bf6
parentd487858ebffaab9acd8945f19ef400ec6eda11f1
driver core: auxiliary bus: add device creation helpers

Add helper functions to create a device on the auxiliary bus.

This is meant for fairly simple usage of the auxiliary bus, to avoid having
the same code repeated in the different drivers.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20250218-aux-device-create-helper-v4-1-c3d7dfdea2e6@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/auxiliary.c
include/linux/auxiliary_bus.h