mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: mjg@redhat.com
Cc: gregkh@suse.de, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Alberto Mardegan <mardy@users.sourceforge.net>
Subject: [PATCH 1/4] samsung-laptop: Samsung R410P backlight driver
Date: Fri,  8 Apr 2011 17:02:03 +0200	[thread overview]
Message-ID: <1302274926-25985-2-git-send-email-mmarek@suse.cz> (raw)
In-Reply-To: <1302274926-25985-1-git-send-email-mmarek@suse.cz>

From: Alberto Mardegan <mardy@users.sourceforge.net>

Here's a trivial patch which adds support to the backlight device found
in Samsung R410 Plus laptops.

Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
[mmarek: cherry-picked from staging commit d542f180]
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 drivers/platform/x86/samsung-laptop.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index de434c6..f670db3 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -571,6 +571,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
 		.callback = dmi_check_cb,
 	},
 	{
+		.ident = "R410 Plus",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR,
+					"SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "R410P"),
+			DMI_MATCH(DMI_BOARD_NAME, "R460"),
+		},
+		.callback = dmi_check_cb,
+	},
+	{
 		.ident = "R518",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR,
-- 
1.7.4.1


  reply	other threads:[~2011-04-08 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-08 15:02 [PATCH 0/4] Fix up samsung-laptop.c duplication Michal Marek
2011-04-08 15:02 ` Michal Marek [this message]
2011-04-08 15:02 ` [PATCH 2/4] samsung-laptop: add support for N230 model Michal Marek
2011-04-08 15:02 ` [PATCH 3/4] samsung-laptop: set backlight type Michal Marek
2011-04-08 15:02 ` [PATCH 4/4] staging: samsung-laptop has moved to platform/x86 Michal Marek
2011-04-08 15:26 ` [PATCH 0/4] Fix up samsung-laptop.c duplication Greg KH
2011-04-12 15:05   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1302274926-25985-2-git-send-email-mmarek@suse.cz \
    --to=mmarek@suse.cz \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mardy@users.sourceforge.net \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®