On Tue, Dec 20, 2022 at 3:26 PM Alvaro Karsz <alvaro.karsz@xxxxxxxxxxxxx> wrote: > > Hi Jason, > > > So I think we actually don't need to depend on HWMON here? > > > > hwmon.c is only complied when HWMON is enabled and we use IS_ENABLED to > > exclude the hwmon specific does. > > We are not really depending on HWMON with "(HWMON || HWMON=n)" > If HWMON=n, the driver can be compiled either as a module or built-in. > If HWMON=y, the driver can be compiled either as a module or built-in. > If HWMON=m, the driver will be forced to be compiled as a module. > > This technique allows us to use IS_ENABLED instead of IS_REACHABLE Ok, right. So Acked-by: Jason Wang <jasowang@xxxxxxxxxx> Thanks >