On 06/12/2015 11:53 AM, Sascha Hauer wrote:
> +static·int·backlight_pwm_set(struct·backlight_device·*backlight,
> +» » int·brightness)
> +{
> +» struct·pwm_backlight·*pwm_backlight·=·container_of(backlight,
> +» » » struct·pwm_backlight,·backlight);
> +» unsigned·long·long·duty·=··pwm_backlight->period;
> +» unsigned·int·max·=·pwm_backlight->backlight.brightness_max;
> +
> +········duty·*=·brightness;
> +········do_div(duty,·max);indent with tab instead of space here. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
