From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758231Ab1I3Koz (ORCPT ); Fri, 30 Sep 2011 06:44:55 -0400 Received: from dan.rpsys.net ([93.97.175.187]:60472 "EHLO dan.rpsys.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847Ab1I3Koy (ORCPT ); Fri, 30 Sep 2011 06:44:54 -0400 Subject: Re: [PATCH] backlight: Rename corgibl_limit_intensity to genericbl_limit_intensity From: Richard Purdie To: axel.lin@gmail.com Cc: Andrew Morton , linux-kernel@vger.kernel.org, Andrew Morton Date: Fri, 30 Sep 2011 11:44:42 +0100 In-Reply-To: References: <1316916753.5006.1.camel@phoenix> <20110929130049.a3b56e19.akpm00@gmail.com> <1317327729.12332.121.camel@ted> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.1.91- Content-Transfer-Encoding: 7bit Message-ID: <1317379490.12332.145.camel@ted> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2011-09-30 at 07:45 +0800, Axel Lin wrote: > >> Why does corgibl_limit_intensity/genericbl_limit_intensity exist? > >> Nothing in the tree references it? > > > > It sounds like someone has removed the sharpsl battery driver which did > > use this. If this hook isn't used, low battery with high screen > > backlight values will reset the device as the wiring isn't up to the > > current draw. > > > It is removed by commit 13a542475d1c62a12c77abfa83a790245598fc61 > Author: Christoph Egger > Date: Sun Jul 4 23:24:52 2010 +0800 > > [ARM] pxa: removing dead BACKLIGHT_CORGI > > BACKLIGHT_CORGI was later renamed to BACKLIGHT_GENERIC and has not been > used since then. As it's now safe to completely transition to LCD_CORGI > driver, which incorprates both the LCD and backlight device. > > Signed-off-by: Christoph Egger > Signed-off-by: Eric Miao > > So, should we remove corgibl_limit_intensity/genericbl_limit_intensity > since now it is not being used? Does that code workaround the hardware issue I mention? I suspect not. It seems nobody cares about that at this point though... Cheers, Richard