Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753223AbbB1UAc (ORCPT ); Sat, 28 Feb 2015 15:00:32 -0500 Received: from cpsmtpb-ews09.kpnxchange.com ([213.75.39.14]:55347 "EHLO cpsmtpb-ews09.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbbB1UAa (ORCPT ); Sat, 28 Feb 2015 15:00:30 -0500 Message-ID: <1425153626.24292.62.camel@x220> Subject: Re: [PATCH v6 3/5] power: max77843_battery: Add Max77843 fuel gauge device driver From: Paul Bolle To: Jaewon Kim Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-input@vger.kernel.org, Inki Dae , SangBae Lee , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Lee Jones , Chanwoo Choi , Sebastian Reichel , Beomho Seo , Dmitry Torokhov Date: Sat, 28 Feb 2015 21:00:26 +0100 In-Reply-To: <1424741348-8728-4-git-send-email-jaewon02.kim@samsung.com> References: <1424741348-8728-1-git-send-email-jaewon02.kim@samsung.com> <1424741348-8728-4-git-send-email-jaewon02.kim@samsung.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Feb 2015 20:00:26.0950 (UTC) FILETIME=[32175E60:01D05391] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1949 Lines: 66 On Tue, 2015-02-24 at 10:29 +0900, Jaewon Kim wrote: > diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig > index 994793d..555e436 100644 > --- a/drivers/power/Kconfig > +++ b/drivers/power/Kconfig > @@ -212,6 +212,15 @@ config BATTERY_MAX17042 > with MAX17042. This driver also supports max17047/50 chips which are > improved version of max17042. > > +config BATTERY_MAX77843 > + tristate "Maxim MAX77843 Fuel Gauge" > + depends on MFD_MAX77843 > + help > + This adds support for battery fuel gauge in Maxim MAX77843. It is > + fuel-gauge for a lithium-ion batteries with a single cell and can be > + found in portable devices. The MAX17040 is configured to operate with Could MAX17040 be a copy/paste error? > + a single lithium cell. > + > config BATTERY_Z2 > tristate "Z2 battery driver" > depends on I2C && MACH_ZIPIT2 [...] > diff --git a/drivers/power/max77843_battery.c b/drivers/power/max77843_battery.c > new file mode 100644 > index 0000000..0c59a16 > --- /dev/null > +++ b/drivers/power/max77843_battery.c > @@ -0,0 +1,286 @@ > +/* > + * Fuel gauge driver for Maxim MAX77843 > + * > + * Copyright (C) 2015 Samsung Electronics, Co., Ltd. > + * Author: Beomho Seo > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published bythe Free Software Foundation. > + */ I did git grep "bythe Free" next-20150227 and it returned five hits. This would be the sixth. Anyhow, this states that this file is licensed GPL v2. [...] > +MODULE_LICENSE("GPL"); So this should probably be MODULE_LICENSE("GPL v2"); Paul Bolle -- 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/