Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1432120ybi; Sat, 25 May 2019 01:48:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEclNTXOVjd3XBE6uDPWfjSEGJoCcE257aQvMd7VafIbcXP6ya27XPII8TCOXdJsMONMjh X-Received: by 2002:a17:902:a70f:: with SMTP id w15mr42123933plq.222.1558774103575; Sat, 25 May 2019 01:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558774103; cv=none; d=google.com; s=arc-20160816; b=nZaN1YlxRKGltkM20CVmfUENAf8wUDtCUQ3UAbgs9TqKe8xPjvsLbu10v+XcpHZRe9 5VLVJngWJNoH2ho716AXu/uHRoifwnzLtvoSYUOagoXUF49ubWgREkRqQeclSs2OhrNZ NPxH415mM5Z4J6/jUrm9h5kQoefqjnb6Sk/MxhxxOC7E9QSmsdfd57Nj1Z2GbkyN0VIf 9DW/pc+UvUvm7t4eKyQ4yZEYffdr1sWJGn4F41g1g3v5lbmUo/sW0P2+jY2FdiJSGmgT RlCQzb/GedOJisSSsg0u2pa8nagXZrutl3TO37JnXlbQ3GwKr49x+wXfMuGxK/zvVdBR 5a5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=62XQw/AAo9b6LOXkKHniDCVZP2RGPWliA6drhxEvfCw=; b=CgPsxvoZA76VrycBy+uva0K+v9LyhQg/964nxjp1m7GMiKC9jwMT8t/+cp9A0Tbz6o xSHNlnzQoSn4OkPVphJJTcyq8DgTrVFC8X9A4s5Ssgc13kg3myYoIe/xwU3ONnXoV/kS 2AjzFKIQal521e6VPmjW2uT8hJo/4EoB0omOFbGUZOFReSk4+JItTQZZfTztBxqqZ6l0 bIdvY2O11NpkQ2YeOFGLLTXOuQxiNce6gddpL7O9frcYjqqBlVPdCHPKKN4IxKoQYNGZ RZhv9fXpQ2qvWgCPhQBJ4RooqGpZDN0tEXVE6fD6Y5IPklR97zP6ZqsKjtTuEYHzJBML 8zQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=skyboo.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si7121583pgt.412.2019.05.25.01.48.07; Sat, 25 May 2019 01:48:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=skyboo.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726628AbfEYIqA (ORCPT + 99 others); Sat, 25 May 2019 04:46:00 -0400 Received: from skyboo.net ([94.40.87.198]:41804 "EHLO skyboo.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726376AbfEYIp7 (ORCPT ); Sat, 25 May 2019 04:45:59 -0400 Received: from manio by skyboo.net with local (Exim 4.91) (envelope-from ) id 1hUSJR-0007xV-DF; Sat, 25 May 2019 10:45:57 +0200 From: Mariusz Bialonczyk To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Cc: Mariusz Bialonczyk Date: Sat, 25 May 2019 10:45:38 +0200 Message-Id: <20190525084538.29389-1-manio@skyboo.net> X-Mailer: git-send-email 2.19.0.rc1 In-Reply-To: <20190524182109.GA26827@kroah.com> References: <20190524182109.GA26827@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, greg@kroah.com, manio@skyboo.net X-SA-Exim-Mail-From: manio@skyboo.net X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on nemesis.skyboo.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Subject: [PATCH 4/4 v2] w1: ds2805: rename w1_family struct, fixing c-p typo X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on skyboo.net) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ds2805 has a structure named: w1_family_2d, which surely comes from a w1_ds2431 module. This commit fixes this name to prevent confusion and mark a correct family name. Signed-off-by: Mariusz Bialonczyk --- Changes in v2: Added a missing commit msg. drivers/w1/slaves/w1_ds2805.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2805.c b/drivers/w1/slaves/w1_ds2805.c index 29348d283a65..ab349604531a 100644 --- a/drivers/w1/slaves/w1_ds2805.c +++ b/drivers/w1/slaves/w1_ds2805.c @@ -288,7 +288,7 @@ static struct w1_family_ops w1_f0d_fops = { .remove_slave = w1_f0d_remove_slave, }; -static struct w1_family w1_family_2d = { +static struct w1_family w1_family_0d = { .fid = W1_EEPROM_DS2805, .fops = &w1_f0d_fops, }; @@ -296,13 +296,13 @@ static struct w1_family w1_family_2d = { static int __init w1_f0d_init(void) { pr_info("%s()\n", __func__); - return w1_register_family(&w1_family_2d); + return w1_register_family(&w1_family_0d); } static void __exit w1_f0d_fini(void) { pr_info("%s()\n", __func__); - w1_unregister_family(&w1_family_2d); + w1_unregister_family(&w1_family_0d); } module_init(w1_f0d_init); -- 2.19.0.rc1