Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-23 Thread Enric Balletbo i Serra
Hi Guenter, On 22/11/18 20:14, Guenter Roeck wrote: > On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: >> The cros-ec-vbc driver is DT-only and there is a DT property that >> indicates if the EC has the VCB NVRAM, in such case instantiate the >> driver but don't instantiate

Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-23 Thread Enric Balletbo i Serra
Hi Guenter, On 22/11/18 20:14, Guenter Roeck wrote: > On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: >> The cros-ec-vbc driver is DT-only and there is a DT property that >> indicates if the EC has the VCB NVRAM, in such case instantiate the >> driver but don't instantiate

Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: > The cros-ec-vbc driver is DT-only and there is a DT property that > indicates if the EC has the VCB NVRAM, in such case instantiate the > driver but don't instantiate on the other cases. > > To do this move the check code

Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-22 Thread Guenter Roeck
On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: > The cros-ec-vbc driver is DT-only and there is a DT property that > indicates if the EC has the VCB NVRAM, in such case instantiate the > driver but don't instantiate on the other cases. > > To do this move the check code

[PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-22 Thread Enric Balletbo i Serra
The cros-ec-vbc driver is DT-only and there is a DT property that indicates if the EC has the VCB NVRAM, in such case instantiate the driver but don't instantiate on the other cases. To do this move the check code to its parent instead of play with the attribute group visibility. This changes a

[PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-22 Thread Enric Balletbo i Serra
The cros-ec-vbc driver is DT-only and there is a DT property that indicates if the EC has the VCB NVRAM, in such case instantiate the driver but don't instantiate on the other cases. To do this move the check code to its parent instead of play with the attribute group visibility. This changes a