Re: [PATCH] mfd: cros_ec_dev: Load lightbar module only present

From: Stephen Boyd
Date: Wed May 26 2021 - 16:26:50 EST


Quoting Gwendal Grignou (2021-05-25 20:45:00)
> The pixel lightbar is only present on chromebook pixel (link), pixel 2
> and pixel C. For the latter two, the EC reports its presence.
> Instead of always loading the lightbar driver on all chromebook, only
> load it when reported by the EC or Link device.
>
> Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> ---

Tested-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>