Re: [PATCH 1/2] hwmon: pc87360: Introduce a #define for the driver name and use it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 19, 2022 at 12:31:54PM +0200, Uwe Kleine-König wrote:
> Make use of the cpp symbol DRIVER_NAME to set the driver's name and also
> as name for devm_request_region(). While at it add a module alias using
> the new define.
> 
> This is a preparation for the next cleanup commit that removes a cyclic
> dependency between pc87360_driver (which references pc87360_probe in
> .probe) and pc87360_probe() (which used pc87360_driver.driver.name).
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux