From patchwork Wed Jan 14 23:57:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 43139 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 025AD20D60 for ; Wed, 14 Jan 2015 23:57:41 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u14sf6347763lbd.3 for ; Wed, 14 Jan 2015 15:57:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=vhOErHsqZ9CL9Dt6QVtKngU2Y5oa9NqMASXwiBLo9dM=; b=ATmnsognpqQhsd8PTynGX+mlWZrQJVHlaRuqD0aNr7lgrlMWBLxUkZ3fP+GBrdT+m9 tfrNCTQvGzt2MpSuitKgvTew9wJcmxro8Phj1qRn4l2R9LBq+4l3CcpXDSyBJiKjyI/t fSPCBmg8/ESoP7X2DwlESfnR9EUXLMpWnnX0AqbnjgALeKhQbTNI34U+tVZztzPG/iXI ZyPhfSQHY5PZtR91RVJrXclAYCl7LGHCNjLOTTsmLSKZXAcl844RiVvUmef5Ac/r8Ayg +fE/x7t7dk1Ug03Bw9I7CkqIoz7hlOSjO/K6Q0Tke0EGajD0HLiYkfdT9YkrjptFxqlj C/hw== X-Gm-Message-State: ALoCoQnF8FP5nfaHC/EgFpyyii9T+7hfhWHflMtt4m3n7TnflLqy7IE4jvgUB5FQUdMKVX1StqEs X-Received: by 10.180.74.132 with SMTP id t4mr758527wiv.3.1421279859973; Wed, 14 Jan 2015 15:57:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.220.164 with SMTP id px4ls167966lac.34.gmail; Wed, 14 Jan 2015 15:57:39 -0800 (PST) X-Received: by 10.152.45.65 with SMTP id k1mr6938663lam.14.1421279859717; Wed, 14 Jan 2015 15:57:39 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id cb8si7368484lad.42.2015.01.14.15.57.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Jan 2015 15:57:39 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gd6so11017703lab.3 for ; Wed, 14 Jan 2015 15:57:39 -0800 (PST) X-Received: by 10.152.8.11 with SMTP id n11mr6694275laa.38.1421279859295; Wed, 14 Jan 2015 15:57:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp1858430lbb; Wed, 14 Jan 2015 15:57:38 -0800 (PST) X-Received: by 10.70.35.109 with SMTP id g13mr1367893pdj.17.1421279857589; Wed, 14 Jan 2015 15:57:37 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id or10si32489501pdb.192.2015.01.14.15.57.36; Wed, 14 Jan 2015 15:57:37 -0800 (PST) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752643AbbANX5f (ORCPT + 4 others); Wed, 14 Jan 2015 18:57:35 -0500 Received: from mail.kernel.org ([198.145.29.136]:44417 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753862AbbANX5e (ORCPT ); Wed, 14 Jan 2015 18:57:34 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BE924201D3; Wed, 14 Jan 2015 23:57:33 +0000 (UTC) Received: from localhost (c-67-160-101-93.hsd1.wa.comcast.net [67.160.101.93]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB2A7201C0; Wed, 14 Jan 2015 23:57:32 +0000 (UTC) From: Kevin Hilman To: Guenter Roeck , lm-sensors@lm-sensors.org Cc: linux-samsung-soc@vger.kernel.org, Jean Delvare , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] hwmon: (ina2xx) Add ina231 compatible string Date: Wed, 14 Jan 2015 15:57:32 -0800 Message-Id: <1421279852-27965-1-git-send-email-khilman@kernel.org> X-Mailer: git-send-email 2.1.3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Kevin Hilman Add support for "ina231" as compatible string. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman --- drivers/hwmon/ina2xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c index e01feba909c3..8c4a29bd2eaf 100644 --- a/drivers/hwmon/ina2xx.c +++ b/drivers/hwmon/ina2xx.c @@ -287,6 +287,7 @@ static const struct i2c_device_id ina2xx_id[] = { { "ina220", ina219 }, { "ina226", ina226 }, { "ina230", ina226 }, + { "ina231", ina226 }, { } }; MODULE_DEVICE_TABLE(i2c, ina2xx_id);