Commit Graph

6 Commits

Author SHA1 Message Date
Krzysztof Kozlowski 28a196fe6c ARM: S3C64XX: Add SPDX license identifiers
Replace GPL license statements with SPDX license identifiers (GPL-2.0
and GPL-2.0+).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
2018-01-03 18:42:53 +01:00
Markus Elfring 0640357bf4 ARM: s3c64xx: Delete an unnecessary return statement in samsung_bl_set
Fix checkpatch warning:
	WARNING: void function return statements are not generally useful

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[krzk: Rewrite commit message]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-10-04 21:09:19 +02:00
Markus Elfring 9c1446c27f ARM: s3c64xx: Remove printk for failed memory allocation in samsung_bl_set
Omit an extra message for a memory allocation failure in
samsung_bl_set().

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-10-04 21:09:18 +02:00
Thierry Reding bf0ff1cd21 ARM: S3C64XX: Use PWM lookup table for smdk6410
Use a PWM lookup table to provide the PWM to the pwm-backlight device.
The driver has a legacy code path that is required only because boards
still use the legacy method of requesting PWMs by global ID. Replacing
these usages allows that legacy fallback to be removed.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
2015-10-13 05:04:22 +09:00
Kukjin Kim 4a7bf56f7f ARM: SAMSUNG: local backlight header in mach-s3c64xx
This patch moves backlight header file into mach-s3c64xx.
Because it is not used for others except mach-s3c64xx.

Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
2015-07-30 02:00:36 +09:00
Kukjin Kim 7f798c1c0d ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx
This patch moves dev-backlight from plat-samsung into mach-s3c64xx
because it is used for only s3c64xx no other platforms.

Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
2015-07-30 01:48:58 +09:00