backlight-kb3886_bl-fix-incorrect-placement-of-__initdata-marker.patch removed from -mm tree
Subsystems (2)
Subject: [merged] backlight-kb3886_bl-fix-incorrect-placement-of-__initdata-marker.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 11:01:25 -0800
The patch titled
Subject: backlight: kb3886_bl: fix incorrect placement of __initdata marker
has been removed from the -mm tree. Its filename was
backlight-kb3886_bl-fix-incorrect-placement-of-__initdata-marker.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: backlight: kb3886_bl: fix incorrect placement of __initdata marker
The __initdata marker can be virtually anywhere on the line, EXCEPT right after "struct". The preferred location is before the "=" sign if there is one, or before the trailing ";" otherwise. It also fixes the following chechpatch warning.
WARNING: __initdata should be placed after kb3886bl_device_table[]
---
drivers/video/backlight/kb3886_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/backlight/kb3886_bl.c renamed from drivers/video/backlight/kb3886_bl.c~backlight-kb3886_bl-fix-incorrect-placement-of-__initdata-marker +1 -1
@@ -78,7 +78,7 @@ static struct kb3886bl_machinfo *bl_machstatic unsigned long kb3886bl_flags;#define KB3886BL_SUSPENDED 0x01 -static struct dmi_system_id __initdata kb3886bl_device_table[] = { +static struct dmi_system_id kb3886bl_device_table[]__initdata = { { .ident ="Sahara Touch-iT" , .matches = {
_
Patches currently in -mm which might be from [email protected] are
origin.patch drivers-video-backlight-backlightc-remove-backlight-sysfs-uevent.patch linux-next.patch backlight-lcd-call-put_device-if-device_register-fails.patch