From patchwork Wed Jun 25 20:00:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: 'Timothy Arceri' via Patchwork Forward X-Patchwork-Id: 32509 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7017320C88 for ; Wed, 25 Jun 2014 20:02:18 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id mc6sf1285261lab.4 for ; Wed, 25 Jun 2014 13:02:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :reply-to:content-type:content-transfer-encoding; bh=NEuJrA/nE4ngaI9l8n1IDZ5uPrJNa3A7GEyVenPEhCY=; b=FwE5pHudSRZZfjMO7F3N99MWaUtM1ubcuErydoxpshsUK7exd0T0AvEZLvuRgwGzAY J4i4QFZW9Pci2QboarCHGTkCxkY/xZ2Ocz0KvMGpuy4H7P5xayJ4gt0CmVmZMW/pLcHc bGT8yoZrof4clF1n0hDh4L+YhZhyIZIwjKOng6ijDwDT1+tw5GBa/WtDztV7NVQSPm/X G3C563VOk9q866PBwLNyH9BIy7eTO4OWZZt3o7OaLzvuigkWv8uS2Ir915ZqwV9RVhKS 4P/AfL7HbF8PEAdbI4/AQ2p1oOV99foT09Nfu4AicQYdIXL5fq8X3QS+IjViSLSjMNUS nxlw== X-Gm-Message-State: ALoCoQnLmGJ5jCQnIuxT2s4Xw14fDq0vy3QO2ykrdmChPnTneNMn07ahiN2tF1F1Ns1b/ZaBUR5n X-Received: by 10.152.23.65 with SMTP id k1mr1335725laf.2.1403726536910; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.134 with SMTP id e6ls1535196qgf.34.gmail; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) X-Received: by 10.52.248.209 with SMTP id yo17mr2226756vdc.60.1403726536729; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [2607:f8b0:400c:c03::234]) by mx.google.com with ESMTPS id tv5si3007024vcb.38.2014.06.25.13.02.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Jun 2014 13:02:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::234 as permitted sender) client-ip=2607:f8b0:400c:c03::234; Received: by mail-vc0-f180.google.com with SMTP id im17so2463232vcb.39 for ; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) X-Received: by 10.52.171.18 with SMTP id aq18mr1648939vdc.45.1403726536538; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp315460vcb; Wed, 25 Jun 2014 13:02:16 -0700 (PDT) X-Received: by 10.194.119.34 with SMTP id kr2mr12685116wjb.34.1403726535635; Wed, 25 Jun 2014 13:02:15 -0700 (PDT) Received: from flocki.atrpms.net (m.at.physik.fu-berlin.de. [160.45.254.30]) by mx.google.com with ESMTPS id p7si29205359wiz.103.2014.06.25.13.02.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Jun 2014 13:02:15 -0700 (PDT) Received-SPF: none (google.com: lm-sensors-bounces@lm-sensors.org does not designate permitted sender hosts) client-ip=160.45.254.30; Received: from localhost ([::1] helo=m.at.physik.fu-berlin.de) by flocki.atrpms.net with esmtp (Exim 4.80.1) id 1WztOE-0003qO-SZ; Wed, 25 Jun 2014 22:01:56 +0200 Received: from nm34-vm8.bullet.mail.ir2.yahoo.com ([212.82.97.122]) by mail1.atrpms.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) id 1WztO8-0003oU-7C for lm-sensors@lm-sensors.org; Wed, 25 Jun 2014 22:01:51 +0200 Received: from [212.82.98.48] by nm34.bullet.mail.ir2.yahoo.com with NNFMP; 25 Jun 2014 20:00:45 -0000 Received: from [46.228.39.86] by tm1.bullet.mail.ir2.yahoo.com with NNFMP; 25 Jun 2014 20:00:45 -0000 Received: from [127.0.0.1] by smtp123.mail.ir2.yahoo.com with NNFMP; 25 Jun 2014 20:00:45 -0000 X-ACL-Warn: X-Yahoo-Newman-Id: 858113.60794.bm@smtp123.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5E3f3lgVM1nB5N7uXVJ2ggIp.1OXIhqMpjP0Jhzt5si_s5M CLUdjsyt4lKHL706Ubn46PSi9IQai1qu6oL9mwQ3Q.NtgdopGJNr662QrEWI YBF.yyFzcQmG1QKaGBYulZ2d6HOngwgFl_Znsz19kFvtGoCX9DqgxapwSGQw PzE.YnoIFAA7Ooa2XTOi7.ga3czI_1ugKZFpiT2p4asrwYeLxEOgkwVIuowD nfq6ycU52Wl4JEBblmo5Fcd9aBY66S0PMDKYOAVSM3DI1sO9pBp3VBB0J1VC i7JWWnHjtL_gcVShxBA6LgTt6WH83IOfVe97xVPVHKqOI_YCFZsi.PuzQyrr X328wuw6L3XeAQTOB_LVZQgA8IVaBTOb1zbnlMJ2COuarMXAlLonBRgqqbM9 .mzUZIFBO09WqwthxqV6iUFSGstrQsbi46mG5ngJH.hApupYjyXeQYer0blF JdAwBK4ryy5EIzxd2vnXmHtkl.4QPsGmnL6XoU3DD39FVZ_C2v0c3e7Q52fX FteLZbwW26V8NU9QY0KNJlOsM4Yx4 X-Yahoo-SMTP: dKM7aeKswBCaThkKPEK_HK7JH822LTE- X-Rocket-Received: from localhost.localdomain (jdascenzio@88.123.37.13 with plain [188.125.69.59]) by smtp123.mail.ir2.yahoo.com with SMTP; 25 Jun 2014 20:00:45 +0000 UTC From: "'Julien D'Ascenzio' via Patchwork Forward" To: Guenter Roeck Date: Wed, 25 Jun 2014 22:00:31 +0200 Message-Id: <1403726431-18749-1-git-send-email-jdascenzio@yahoo.fr> X-Mailer: git-send-email 1.9.1 X-Scanned: No viruses found. X-Spam-Status: No (score -2.0) X-Spam-Level: -- X-Spam-Report: No (score -2.0) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.82.97.122 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jdascenzio[at]yahoo.fr) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Scan-Signature: 51076a73e04347bd96918f2397b72eaf Cc: Julien D'Ascenzio , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org Subject: [lm-sensors] [PATCH] hwmon: (gpio-fan) Change name used in hwmon_device_register_with_groups X-BeenThere: lm-sensors@lm-sensors.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: lm-sensors-bounces@lm-sensors.org Errors-To: lm-sensors-bounces@lm-sensors.org X-Scanned: No viruses found. X-Spam-Status: No (score -1.8) X-Spam-Level: - X-Spam-Report: No (score -1.8) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.82.97.122 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jdascenzio[at]yahoo.fr) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.1 AWL AWL: From: address is in the auto white-list X-Scan-Signature: 8dbffa3abde72a4b10c9f2d0cf0714e4 X-Original-Sender: jdascenzio@yahoo.fr X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::234 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@; dmarc=fail (p=NONE dis=NONE) header.from=yahoo.fr Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 X-Original-From: Julien D'Ascenzio Reply-To: Julien D'Ascenzio Since commit 648cd48c9e566f53c5df30d79857e0937ae13b09 The hwmon name attributes must not include '-' so the name must be rename from gpio-fan to gpio_fan Signed-off-by: Julien D'Ascenzio --- drivers/hwmon/gpio-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c index 73181be..160ca00 100644 --- a/drivers/hwmon/gpio-fan.c +++ b/drivers/hwmon/gpio-fan.c @@ -538,7 +538,7 @@ static int gpio_fan_probe(struct platform_device *pdev) /* Make this driver part of hwmon class. */ fan_data->hwmon_dev = hwmon_device_register_with_groups(&pdev->dev, - "gpio-fan", fan_data, + "gpio_fan", fan_data, gpio_fan_groups); if (IS_ERR(fan_data->hwmon_dev)) return PTR_ERR(fan_data->hwmon_dev);