[PATCH v7][ 3/5] video: mx3fb: Introduce regulator support.
Denis Carikli
denis at eukrea.com
Wed Jun 18 23:58:45 PDT 2014
On 03/14/2014 10:12 AM, Denis Carikli wrote:
> + /* In dt mode,
> + * using devm_regulator_get would require that the proprety referencing
> + * the regulator phandle has to be inside the mx3fb node.
> + */
> + if (np) {
> + if (regulator_name)
> + mx3fbi->reg_lcd = regulator_get(NULL, regulator_name);
mx3fbi->reg_lcd is NULL if no regulator is present in the dts(i).
I'll fix it in the driver (instead of forcing the use of a dummy regulator).
Denis.
More information about the linux-arm-kernel
mailing list