Message ID | 20170602122157.4677-3-alexandre.belloni@free-electrons.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBCKYNX7Y3IMBB6FQYXEQKGQECTPZR3Y@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-lf0-x23d.google.com (mail-lf0-x23d.google.com [IPv6:2a00:1450:4010:c07::23d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wfNd80sCNz9s71 for <incoming@patchwork.ozlabs.org>; Fri, 2 Jun 2017 22:22:19 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="Ha74VWAC"; dkim-atps=neutral Received: by mail-lf0-x23d.google.com with SMTP id h4sf7311262lfj.0 for <incoming@patchwork.ozlabs.org>; Fri, 02 Jun 2017 05:22:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1496406136; cv=pass; d=google.com; s=arc-20160816; b=ErDDWmLGVRDKr6kyROdKdAsRQP/RNBx2BgzavrVVlWv2KJOQBM3eSeIAtAF50t3en1 3T3QsHyWGgRrtYnmsG4vIQQst/ZmqoXuaDGJ5gPKOU2DZGMh6inzMtUp3K15PRQAl+c3 7kPfN52QlLXWtpXlRx+zun814GmnMJM9+NujUh1zYN6n8FO+XK4sBOPLElwjgcaBxEfn c1w/SpuEPPeIfsAo6W/yhX72CGEimiXUWu5DmuAy+cjjZaZxBA8TQF1amBhvGzq4k/cU QssUun8VfLfh4de4mrQjHxjjcriDscShzqiYKVm2NXayK82k6xJLKRxAKHO4n8oDRmY3 b0cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results :arc-message-signature:mime-version:sender:dkim-signature :arc-authentication-results; bh=0YuPjsGM7u7Rqux7zL3zx0++4mvG6be2GELvOfoUJx0=; b=f2qDe9E9AgIGbJmKBT/qjC0LmHxbc7iZAnRGWx6xX9LtRB27zILnERcoehztqErBUa Z0lgZ8o1t4Y40nHWCNVmRFDGBg+HkWIBy3Ya0Uni1ZdFcENfRoKlx32W3dviYKdROLKb 0Y4A7+z6uiMYnMrB63rqaFesGW/XSCwxsOdom0O6LSmmrFdfCt4cU7xMRcZlOa9S/XKh 3e9j/YpdY4ynEW5FOiVuAnqdxSwiN1zPk9LoC8tSfchWGzG+fXtrktSR/5iI/BQaKNZ4 KhB6hCwu0IoIRmMrUCklQxkRUyjwk0NL7gzT1HkWlev0KsCgpPL7X9itIRBRFaimlYNi nUYg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of alexandre.belloni@free-electrons.com designates 62.4.15.54 as permitted sender) smtp.mailfrom=alexandre.belloni@free-electrons.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=0YuPjsGM7u7Rqux7zL3zx0++4mvG6be2GELvOfoUJx0=; b=Ha74VWACvo+njT6sdmh/ckNseyEqLR/GMeUGngiYYP/jh6Mt9fR+L9qXQrhOS3Cr+u Tkiviw3zSEduKP+joGjMb3CSVJW6FJr9sjktKDa+v8KqznnYP0wcBk9G22Z9FsoUClTz zIg/pzjXTgKMsTJKKzJFuPKayvD30a6VJu1XU0R5hMJIY5f4TkldJkBH3so7O/zTx9B3 OuRCaZ/epHlhV801XQ5mUHNGy+QC6MKbKUA6JktB+/h4jk/RzHnR8X4yTF2UJC7viull 6GLYst9qBrdhSQCLkGgbb2pEzYF9H7wDATfB4ZfOKZ0cQpwi82DaXZYvGFAfEhyoVYoR SwVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=0YuPjsGM7u7Rqux7zL3zx0++4mvG6be2GELvOfoUJx0=; b=bLoOZA1tEB9UEjB2mWa2XtU8g1fgoFf0aiEbscIveqSFVzh7TvTe+IF4/sxcxVcBiT zBTr2cOJdJw+01BeC96Jq43+1K8Oj6mC6yoojU/RZo4MYxH+vOeNA6YdziXAGLyhPlyF hQDx6eT1B7DvrVPP5hKcPL4PdpIdiEbBmgIocpwQjTi/YbGK0u/dSEDJbyB6HMLHzjoH gD2wnSWdeEb8o1bws4idwuY4XmrQyveNmHPDPjelQCKh2AeMHO7WmPphkDzg6PVJjyMe En2As7ULMJGj+IEnnuiNOvczXJnHS3cg2iPQpq1K/3kp9aijaeFS8u+KFY1dEnCZ89t9 7OnA== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AODbwcAM5YjIycBK07H62NW71rmDD1zTCrhZijzpe3uGvQttBjLkF2GV JFf6a+0zDeiR0w== X-Received: by 10.46.22.26 with SMTP id w26mr14468ljd.14.1496406136832; Fri, 02 Jun 2017 05:22:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.46.32.13 with SMTP id g13ls379176ljg.48.gmail; Fri, 02 Jun 2017 05:22:16 -0700 (PDT) X-Received: by 10.25.32.209 with SMTP id g200mr865309lfg.9.1496406136488; Fri, 02 Jun 2017 05:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406136; cv=none; d=google.com; s=arc-20160816; b=y7YAb2Y0sffonqniHeWjFR8+KoA/99+uH4f1ZtGk23yvv6ZXrKNSTVE0nfRIkDk2E/ tNTRi3LLZb+3JYzBXd4GjzcyEZ3/M54/66ktJt0Z6ufbUb0B8TVrogLcMOEHe8w4Gemc OaMzdnwnnTAXc4nPt29ehgXIp8rnmCLHpEbd0HjQxUIFHdzeR9aI72gMWCHhel+SmGsA 497VpbbeE3hlKBgzTPzHzEBsnTq4j6bESVPhy/AVO8yETWmpoUrHADrcIYAn3s0vy+pV 1RP759eEcpy/qyRohe5rRLzN4kktpV1RIVF6P2vR6+8rtRTgEC5nHtKcXCbwe+aJQJ62 hizQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=y3+SKfC+ELkhMq1vSMyrtLrnEAw1J6rn7hO30/T6mBU=; b=l7d4k0bm5++IM6yCfmi439S8bQs/wykSBlGvKSMmlAyxcn0DlFE/TBhpVob8Bv1KZb 082xVwJjaEv9hqahzPV6CUfQCEjNqmwWrUknr/g7zgHvhh/VUBIePGbEdjJ/jOw46/fg ZgFIhmid99nrXKgDuR18ID00DHrarL9N6rNG8tyPSHrh3g/rdxUehHSSw7yMV4C+ebmU D40VklNty1oZYAW+IDd7W8h3/CdyjG+MZvtKkDd1L5Vh0kK6y10BkGEWpK8La2gDp9d7 XxRztTJLTsBTAVxHMppCLBP/gKc8ukq/L9kghWf1hzz5n2GtgUcr64mC0a6CiUp9xGWp BkQA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of alexandre.belloni@free-electrons.com designates 62.4.15.54 as permitted sender) smtp.mailfrom=alexandre.belloni@free-electrons.com Received: from mail.free-electrons.com (mail.free-electrons.com. [62.4.15.54]) by gmr-mx.google.com with ESMTP id i7si92563wmb.3.2017.06.02.05.22.16 for <rtc-linux@googlegroups.com>; Fri, 02 Jun 2017 05:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of alexandre.belloni@free-electrons.com designates 62.4.15.54 as permitted sender) client-ip=62.4.15.54; Received: by mail.free-electrons.com (Postfix, from userid 110) id 4DD7A20C62; Fri, 2 Jun 2017 14:22:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.191.26.124]) by mail.free-electrons.com (Postfix) with ESMTPSA id 255BE20C8D; Fri, 2 Jun 2017 14:22:05 +0200 (CEST) From: Alexandre Belloni <alexandre.belloni@free-electrons.com> To: Alessandro Zummo <a.zummo@towertech.it> Cc: rtc-linux@googlegroups.com, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Belloni <alexandre.belloni@free-electrons.com> Subject: [rtc-linux] [PATCH 3/5] rtc: pcf8563: avoid using rtc->name Date: Fri, 2 Jun 2017 14:21:55 +0200 Message-Id: <20170602122157.4677-3-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170602122157.4677-1-alexandre.belloni@free-electrons.com> References: <20170602122157.4677-1-alexandre.belloni@free-electrons.com> X-Original-Sender: alexandre.belloni@free-electrons.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of alexandre.belloni@free-electrons.com designates 62.4.15.54 as permitted sender) smtp.mailfrom=alexandre.belloni@free-electrons.com Reply-To: rtc-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: <https://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <https://groups.google.com/group/rtc-linux List-Subscribe: <https://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>, <https://groups.google.com/group/rtc-linux/subscribe> |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 1227ceab61ee..cea6ea4df970 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -606,7 +606,7 @@ static int pcf8563_probe(struct i2c_client *client, err = devm_request_threaded_irq(&client->dev, client->irq, NULL, pcf8563_irq, IRQF_SHARED|IRQF_ONESHOT|IRQF_TRIGGER_FALLING, - pcf8563->rtc->name, client); + pcf8563_driver.driver.name, client); if (err) { dev_err(&client->dev, "unable to request IRQ %d\n", client->irq);
pcf8563->rtc->name is a copy of pcf8563_driver.driver.name, use it instead Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> --- drivers/rtc/rtc-pcf8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)