[PATCH v2 2/2] backlight: Add Kinetic KTD2801 driver

Christophe JAILLET christophe.jaillet at wanadoo.fr
Fri Jan 19 17:29:21 UTC 2024


Le 18/01/2024 à 18:32, Duje Mihanović a écrit :
> Add driver for the Kinetic KTD2801 backlight driver.
> 
> Signed-off-by: Duje Mihanović <duje.mihanovic at skole.hr>
> 
> ---

...

> +	ktd2801->gpiod = devm_gpiod_get(dev, "ctrl", GPIOD_OUT_HIGH);
> +	if (IS_ERR(ktd2801->gpiod))
> +		return dev_err_probe(dev, PTR_ERR(dev),

PTR_ERR(ktd2801->gpiod); ?

CJ


More information about the dri-devel mailing list