Re: [PATCH v2 1/8] driver core: auxiliary bus: Introduce dev_is_auxiliary()
From: Greg Kroah-Hartman
Date: Fri Mar 13 2026 - 10:08:41 EST
On Fri, Mar 13, 2026 at 01:53:03PM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Introduce dev_is_auxiliary() in analogy with dev_is_platform() to
> facilitate subsequent changes.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
>
> Danilo, Greg, please let me know if you have objections or concerns
> regarding this one.
>
> The new function is used in the next patch to limit the scope of the
> search when looking for duplicates of the device being probed.
>
> ---
> drivers/base/auxiliary.c | 10 ++++++++++
> include/linux/auxiliary_bus.h | 2 ++
> 2 files changed, 12 insertions(+)
>
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>