Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759644AbcCDJit (ORCPT ); Fri, 4 Mar 2016 04:38:49 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:30327 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758357AbcCDJio (ORCPT ); Fri, 4 Mar 2016 04:38:44 -0500 X-AuditID: cbfec7f4-f79026d00000418a-2e-56d957a14a0e Message-id: <56D957A0.7070300@samsung.com> Date: Fri, 04 Mar 2016 10:38:40 +0100 From: Jacek Anaszewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-version: 1.0 To: Evan McClain Cc: Dmitry Torokhov , Richard Purdie , Bryan Wu , Simon Que , Olof Johansson , Duncan Laurie , Guenter Roeck , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH] leds: Add Chrome OS keyboard backlight LEDs driver References: <20160303234646.GA17641@dtor-ws> <1457080729.18482.6.camel@gmail.com> In-reply-to: <1457080729.18482.6.camel@gmail.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsVy+t/xy7oLw2+GGTzts7aY/fwdk8XRnROZ LK5NbWO0OLzoBaPFqVfLmC0u75rDZrH1zTpGi69bdjNa7N71lNXiyvZ6By6P2Q0XWTx2zrrL 7rFn/g9Wj8+b5AJYorhsUlJzMstSi/TtErgyJk2cwlrwh63i2qXcBsYzrF2MnBwSAiYSGw9t Y4KwxSQu3FvP1sXIxSEksJRRYua7f8wQzjNGiWfTZrCAVPEKaEncf/aAEcRmEVCV+DN/JxuI zSZgKPHzxWuwSaICERJ/Tu9jhagXlPgx+R5YrwhQ/e7tXSwgQ5kFDjNJ9Lx6xQySEBZwl3j3 YwFYs5BAsMSZjS+AhnJwcAIN7d1rCxJmFjCTeNSyjhnClpfYvOYt8wRGgVlIVsxCUjYLSdkC RuZVjKKppckFxUnpuYZ6xYm5xaV56XrJ+bmbGCFh/2UH4+JjVocYBTgYlXh4bzRcDxNiTSwr rsw9xCjBwawkwjvb7WaYEG9KYmVValF+fFFpTmrxIUZpDhYlcd65u96HCAmkJ5akZqemFqQW wWSZODilGhil3P4/y5HSLtVXtt+S/VGy7VhNk0TA8fxHTerlzkk982Z4e/6fFSDNWarzxFvq /IcY+ZonUvJF7Snx6tVd4cF671rPz+mK+n67vWTWah6pOcn+TnNZNWOWeJdG9O2asXDy1/xq h2Oq3as9f5nY//Q9mhPL/Ga91g/nH01/Q1yrF503eLZPSomlOCPRUIu5qDgRAPxMRy13AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 27 Hi Evan, On 03/04/2016 09:38 AM, Evan McClain wrote: > On Thu, 2016-03-03 at 15:46 -0800, Dmitry Torokhov wrote: >> From: Simon Que >> >> This is a driver for ACPI-based keyboard backlight LEDs found on >> Chromebooks. The driver locates \\_SB.KBLT ACPI device and exports >> backlight as "chromeos::kbd_backlight" LED class device in sysfs. > > Was it ever decided where this driver should live? I was planning on > submitting to platform/chrome since most keyboard backlights seem to > live over there but I don't think I got a response. > It hasn't been decided yet. I can take it, but could you submit one more version, without 'owner = THIS_MODULE' in struct platform_driver keyboard_led_driver ? It is redundant, because the core will do it. Also the line with devm_kzalloc has over 80 characters. -- Best regards, Jacek Anaszewski