Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942AbZKJIqg (ORCPT ); Tue, 10 Nov 2009 03:46:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752620AbZKJIqf (ORCPT ); Tue, 10 Nov 2009 03:46:35 -0500 Received: from mga09.intel.com ([134.134.136.24]:42269 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbZKJIqf (ORCPT ); Tue, 10 Nov 2009 03:46:35 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,715,1249282800"; d="scan'208";a="568120908" Subject: Re: [patch] added brightness feature to lcd class. From: Richard Purdie To: InKi Dae Cc: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Kyungmin Park , Andrew Morton , Pavel Machek In-Reply-To: <90b950fc0911091926v32dc1c44n1018322390282bc0@mail.gmail.com> References: <90b950fc0911020050q3bc3fae8j954ec6ed73d79b5@mail.gmail.com> <1257809705.29038.82.camel@dax.rpnet.com> <90b950fc0911091926v32dc1c44n1018322390282bc0@mail.gmail.com> Content-Type: text/plain Date: Tue, 10 Nov 2009 08:43:17 +0000 Message-Id: <1257842597.29038.162.camel@dax.rpnet.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1288 Lines: 39 On Tue, 2009-11-10 at 12:26 +0900, InKi Dae wrote: > Thank you for your comments. > > it is a good idea that lcd driver registers interfaces to lcd class > and backlight class. > but I think for AMOLED LCD Panel, backlight couldn't be real device so > power on/off > for backlight device doesn't make sense. The backlight power control can just turn the backlight level down to its lowest setting (off)? > I had tried lcd driver registers interfaces to lcd class and backlight > class as you said. > and also backlight fake driver as Pavel said. So you've tried this, what was the problem? Perhaps post this driver code to illustrate your problem? > but I thought to use my patch is more simple and effective. > of course, this patch has a problem that it has different path from > backlight class > for controlling brightness. > > how about creating symbolic link file for competiability? Creating two ways to do something (with or without symlinks) is not simple and effective for anything other than your driver. Cheers, Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/