Re: [PATCH v2 1/5] hwmon: introduce hwmon_sanitize_name()

From: Andrew Lunn
Date: Wed Mar 30 2022 - 09:59:08 EST


> So why not error the request to created the hwmon device with
> an invalid name.
> The name supplied will soon get fixed - since it is a literal
> string in the calling driver.

It is often not a literal string in the driver, but something based on
the DT description of the hardware.

Andrew