Message ID | 1390911522-28209-18-git-send-email-k.kozlowski@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 86836C02DC for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jan 2014 13:07:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73AEC20131 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jan 2014 13:07:29 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D3C3200ED for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jan 2014 13:07:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W87h5-0003zR-Sn; Tue, 28 Jan 2014 12:23:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W87gG-0004ZE-On; Tue, 28 Jan 2014 12:22:16 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W87dz-0004Df-Cg for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2014 12:19:58 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0400I9B280PSA0@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2014 12:19:12 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-76-52e7a03f8a06 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id E8.19.23059.F30A7E25; Tue, 28 Jan 2014 12:19:11 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N0400FMZ27HEPA0@eusync4.samsung.com>; Tue, 28 Jan 2014 12:19:11 +0000 (GMT) From: Krzysztof Kozlowski <k.kozlowski@samsung.com> To: MyungJoo Ham <myungjoo.ham@samsung.com>, Chanwoo Choi <cw00.choi@samsung.com>, Samuel Ortiz <sameo@linux.intel.com>, Lee Jones <lee.jones@linaro.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 17/18] power: max17040: Add ID for max77836 Fuel Gauge block Date: Tue, 28 Jan 2014 13:18:41 +0100 Message-id: <1390911522-28209-18-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1390911522-28209-1-git-send-email-k.kozlowski@samsung.com> References: <1390911522-28209-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBLMWRmVeSWpSXmKPExsVy+t/xa7r2C54HGUzv57M4uFXTYurDJ2wW 1788Z7WY9OQ9s8XElZOZLV6/MLQ42/SG3eL+16OMFt+udDBZbHp8jdXi8q45bBZrj9xlt7jd uILN4nQ3qwOfx4T+T4weO2fdZffYvELLY9OqTjaPO9f2sHnMOxnosXlJvUffllWMHp83yQVw RnHZpKTmZJalFunbJXBlLH7/kq3gHXvFm1nH2BsY77B1MXJySAiYSKzePpsZwhaTuHBvPVCc i0NIYCmjxMEbX9khnD4miQtt68Cq2ASMJTYvXwJWJSKwmklizYKpLCAOM0jV4lvH2UGqhAV8 JDo/t7CC2CwCqhJPfjSD2bwCHhKPm7YCdXMA7VOQmDPJBiTMCRR+dbWRCcQWEnCXOHX8HcsE Rt4FjAyrGEVTS5MLipPScw31ihNzi0vz0vWS83M3MUJC98sOxsXHrA4xCnAwKvHwdnQ+CxJi TSwrrsw9xCjBwawkwps4+3mQEG9KYmVValF+fFFpTmrxIUYmDk6pBsYg1d3+r2/3KDFWfgmM +xbjYT7LQur0RLF3ReH6e89lNtedrVO8LRmrV7f3Y2LfhyNyX3e+W/Xe+Oudi5WTehfEPzi0 8N6xgklHrOVuca9Wv/l5+yvbLkMhzu/av2Qufdiqqm148sr09duWmwkmari+1c9S9/eqrWl0 2XM8RLbtyN0E4UWx3txKLMUZiYZazEXFiQDLbllFOwIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140128_071955_589314_B02E751D X-CRM114-Status: GOOD ( 10.00 ) X-Spam-Score: -7.4 (-------) Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, Anton Vorontsov <anton@enomsg.org>, Kyungmin Park <kyungmin.park@samsung.com>, David Woodhouse <dwmw2@infradead.org>, Marek Szyprowski <m.szyprowski@samsung.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c index c7ff6d67f158..591984a93f9f 100644 --- a/drivers/power/max17040_battery.c +++ b/drivers/power/max17040_battery.c @@ -277,6 +277,7 @@ static SIMPLE_DEV_PM_OPS(max17040_pm_ops, max17040_suspend, max17040_resume); static const struct i2c_device_id max17040_id[] = { { "max17040", 0 }, + { "max77836-battery", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, max17040_id);
MAX77836 has the same Fuel Gauge as MAX17040. The max17040 driver can be safely re-used. The patch adds MAX77836 ID to array with i2c_device_id. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Anton Vorontsov <anton@enomsg.org> Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> --- drivers/power/max17040_battery.c | 1 + 1 file changed, 1 insertion(+)