Re: [PATCH] rave-sp: backlight: Specify parent device correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 15, 2018 at 09:57:43AM -0700, Andrey Smirnov wrote:
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  drivers/video/rave-sp-backlight.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/video/rave-sp-backlight.c b/drivers/video/rave-sp-backlight.c
> index 88ec86e73..3a20def66 100644
> --- a/drivers/video/rave-sp-backlight.c
> +++ b/drivers/video/rave-sp-backlight.c
> @@ -46,6 +46,7 @@ static int rave_sp_backlight_probe(struct device_d *dev)
>  
>  	bd = xzalloc(sizeof(*bd));
>  	bd->dev.priv = dev->parent->priv;
> +	bd->dev.parent = dev;
>  	bd->brightness_default = 50;
>  	bd->brightness_max = 100;
>  	bd->brightness_set = rave_sp_backlight_set;
> -- 
> 2.17.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux