23 Jan, 2020
1 commit
-
If a node is ignored, do not get a reference to it. Fix the bug by moving
fwnode_handle_get() where a reference to an fwnode is saved for clarity.Reported-by: Andy Shevchenko
Reviewed-by: Andy Shevchenko
Signed-off-by: Sakari Ailus
Signed-off-by: Pavel Machek
26 Jul, 2019
1 commit
-
Switch to using generic LED support for composing LED class
device name.After switching to new led_classdev_register_ext() the validity
of struct led_classdev's name property is no longer guaranteed,
and therefore rely on struct device's kobj.name instead.Signed-off-by: Jacek Anaszewski
Cc: Sakari Ailus
Acked-by: Pavel Machek
23 Jul, 2019
1 commit
-
Probable cut&paste typo - use the correct field size.
Signed-off-by: Joe Perches
Acked-by: Pavel Machek
Signed-off-by: Jacek Anaszewski
31 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation this program is
distributed in the hope that it will be useful but without any
warranty without even the implied warranty of merchantability or
fitness for a particular purpose see the gnu general public license
for more detailsextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 655 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Reviewed-by: Kate Stewart
Reviewed-by: Richard Fontana
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de
Signed-off-by: Greg Kroah-Hartman
19 Mar, 2019
1 commit
-
Switch the as3645a from OF to the fwnode property API. Also add ACPI
support.Signed-off-by: Sakari Ailus
Signed-off-by: Jacek Anaszewski
29 Aug, 2018
1 commit
-
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.Signed-off-by: Rob Herring
Cc: linux-leds@vger.kernel.org
Acked-by: Sakari Ailus
Acked-by: Pavel Machek
Signed-off-by: Jacek Anaszewski
09 Jan, 2018
2 commits
-
Fix the warning for line over 80 characters.
WARNING: line over 80 characters
363: FILE: drivers/leds/leds-as3645a.c:363:
flash->flash_current = as3645a_current_to_reg(flash, true, brightness_ua);Signed-off-by: Dan Murphy
Acked-by: Laurent Pinchart
Acked-by: Sakari Ailus
Signed-off-by: Jacek Anaszewski -
Fix a warning for a split quoted string across
lines.WARNING: quoted string split across lines
459: FILE: drivers/leds/leds-as3645a.c:459:
dev_err(dev, "AS3645A not detected "
"(model %d rfu %d)\n", model, rfu);Signed-off-by: Dan Murphy
Acked-by: Laurent Pinchart
Acked-by: Sakari Ailus
Signed-off-by: Jacek Anaszewski
24 Sep, 2017
3 commits
-
The indicator LED was registered in probe but was not removed in driver
remove callback. Fix this.Signed-off-by: Sakari Ailus
Signed-off-by: Jacek Anaszewski -
Use integer numbers for LEDs, 0 is the flash and 1 is the indicator.
Signed-off-by: Sakari Ailus
Acked-by: Pavel Machek
Signed-off-by: Jacek Anaszewski -
DT bindings document the property "ams,input-max-microamp" that limits the
chip's maximum input current. The driver and the DTS however used
"peak-current-limit" property. Fix this by using the property documented
in DT binding documentation.Signed-off-by: Sakari Ailus
Acked-by: Pavel Machek
Signed-off-by: Jacek Anaszewski
27 Aug, 2017
1 commit
-
Add a LED flash class driver for the as3654a flash controller. A V4L2 flash
driver for it already exists (drivers/media/i2c/as3645a.c), and this driver
is based on that.Signed-off-by: Sakari Ailus
Acked-by: Jacek Anaszewski
Signed-off-by: Mauro Carvalho Chehab