[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170404011628.GA16584@fury>
Date: Mon, 3 Apr 2017 18:16:28 -0700
From: Darren Hart <dvhart@...radead.org>
To: Michał Kępień <kernel@...pniu.pl>
Cc: Jonathan Woithe <jwoithe@...t42.net>,
Andy Shevchenko <andy@...radead.org>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 11/11] platform/x86: fujitsu-laptop: remove redundant
fields from struct fujitsu_bl
On Thu, Mar 30, 2017 at 12:35:09PM +0200, Michał Kępień wrote:
> The dev field of struct fujitsu_bl is assigned in acpi_fujitsu_bl_add(),
> but never used afterwards. brightness_changed is set in get_lcd_level()
> and then its value is only printed in a debug message, so it does not
> influence execution flow. Remove both fields as they are redundant.
Indeed, once that was removed from the platform device and the corresponding
sysfs entries were eliminated, we can drop it:
78b2602 platform/x86: fujitsu-laptop: remove backlight-related attributes from the platform device
:-)
--
Darren Hart
VMware Open Source Technology Center
Powered by blists - more mailing lists