Re: [RFC v1 3/4] regulator: core: Probe regulator devices

From: Mark Brown
Date: Wed Feb 22 2023 - 12:50:57 EST


On Sat, Feb 18, 2023 at 12:32:50AM -0800, Saravana Kannan wrote:
> Since devices added to a bus can be probed, add a stub probe function
> for regulator devices.

Why?

> +static int regulator_drv_probe(struct device *dev)
> +{
> + return 0;
> +}

This is just an empty function - why do we need it? Looking at
call_driver_probe() it doesn't appear to be required.

Attachment: signature.asc
Description: PGP signature