Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757158Ab3JOAhp (ORCPT ); Mon, 14 Oct 2013 20:37:45 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:16530 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752529Ab3JOAhn convert rfc822-to-8bit (ORCPT ); Mon, 14 Oct 2013 20:37:43 -0400 X-AuditID: cbfee68e-b7f486d0000040b6-17-525c8e536d49 From: Jingoo Han To: "=?ISO-8859-1?Q?'Maximilian_G=FCntner'?=" Cc: "'Bryan Wu'" , "'Richard Purdie'" , "'linux-kernel'" , "'linux-leds'" , "'Jingoo Han'" References: <2819232.mPNW6mO2uH@titan> In-reply-to: <2819232.mPNW6mO2uH@titan> Subject: Re: [PATCH] leds: Added driver for the NXP PCA9685 I2C chip Date: Tue, 15 Oct 2013 09:37:38 +0900 Message-id: <006b01cec93e$c00a2a10$401e7e30$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7JA0krcX1xZ2cWTxyOTwA3HvAkkgAOh8xg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBIsWRmVeSWpSXmKPExsVy+t8zA93gvpggg7PnpCyO7pzIZHF54SVW i8u75rBZbH2zjtHi5smb7Ba7dz1ldWDz2DnrLrvHnvk/WD36tqxi9Pi8SS6AJYrLJiU1J7Ms tUjfLoErY/2j0+wFF7gqzp36ztbAuJmji5GTQ0LARGL73StsELaYxIV764FsLg4hgWWMEj9n NLLCFO26dZEZIrGIUWLx6ktgCSGBX4wSLe9zQGw2ATWJL18Os4PYIgLeEj/m7WIFaWAWOM0o cepEF1SDmsT9t4tYQGxOAXWJmxc6GUFsYQEXiY/rFoPZLAKqEnfW9IHV8ArYSnz78IINwhaU +DH5HlicWUBHYn/rNDYIW1viybsLQPM5gC5Vl3j0Vxfi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qQYK8aYkVlalFuXHF5XmpBYfYkwG enQis5Rocj4wSeWVxBsam5gZWRqZWRiZmJuTJqwkznug1TpQSCA9sSQ1OzW1ILUIZgsTB6dU A+NEzf82a6+ZLxGVtso4Hxo7+cx95SezV4tOfdU1WXfZ5BX7f8rtWnLFP5//WOKdkNMly2+u NtzJbMxiu+uDzkm10h8+bhJvfwt+nqBkIVnXlHLocMij2zNO8/7ol2T/0BrFGsitIWQ/kb3k 7Vv7gF0blFasuKYySWXLwd2pC8t+Mn6/Y2FrbvdbiaU4I9FQi7moOBEAJg4duUgDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1543 Lines: 56 On Tuesday, October 15, 2013 2:32 AM, Maximilian Guntner wrote: > > The NXP PCA9685 supports 16 channels/leds using a 12-bit PWM (4095 > levels of brightness) > This driver supports configuration using platform_data. > > Signed-off-by: Maximilian G?ntner I added some nit-picking comments. :-) > --- > drivers/leds/Kconfig | 10 ++ > drivers/leds/Makefile | 1 + > drivers/leds/leds-pca9685.c | 219 +++++++++++++++++++++++++++++ > include/linux/platform_data/leds-pca9685.h | 34 +++++ > 4 files changed, 264 insertions(+) > create mode 100644 drivers/leds/leds-pca9685.c > create mode 100644 include/linux/platform_data/leds-pca9685.h > [.....] > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include Please, sort these header inclusions alphabetically for better readability. [.....] > +#ifndef __LINUX_PCA9685_H > +#define __LINUX_PCA9685_H You can add one empty line here. > +#include > + Best regards, Jingoo Han -- 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/