Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5083835ybv; Mon, 17 Feb 2020 11:55:24 -0800 (PST) X-Google-Smtp-Source: APXvYqw/Rpx99GeMjdEIqonPnKIN2/cpLZ1YHNVoAUsswoaseMM4ghDRiHhlckfj9BryUzGCiIaE X-Received: by 2002:a54:4e8d:: with SMTP id c13mr405101oiy.27.1581969324581; Mon, 17 Feb 2020 11:55:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581969324; cv=none; d=google.com; s=arc-20160816; b=Fxw29y25joqeMHvKRwc7nRn/HYSQkeamYxiaqYdZUtER3nJPLdwHVadY31C/8G/NMF M2Qe5Xr0hY3Cbb9BopoM2TMeDFwacwYCfXNW+v8Eceq49GAvw9Mdgflct5RMOUngU8ho Xh9/pDsNp21RSAH0AEjII96Z93LLPj5OjVYXs5fVNeqPee7cEkchsxoaXRBJJmnm+Qju Ba+YJUnZPWYeU9lMcLxUnO3rUbq7MjtfFPkmVpTsUdWIf/X0C9r4If4HjWlNpeG6IpDJ VqMTj5sJlHZlp528TohfvDTwcKrQPax1XEPHQ0jFEP6ARBQZDiQQUJQuh0qjYire/1BU FDJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vEpSrHnokxwmZhdlJaP1Fdj4KHCY0aOhXmKsmIiSb2c=; b=gBeBb62BqVJHORPhYTYgl5fI99fV727WxBSkN0H/6gZp3qGMipv2G5SgiBw9u+XZw5 LACKYaa7uhZnZkFOOSM6Czeb/f931oE2Ztl1YWHVbOpvgYN0xGaoky0J//oPnR2i0HJw +6WXMTt3HBWZH+Kn0o7vz0UNXFkXlTtXN9nVX0ifG0ijafcNGdOUK6Yi56UQ+Hv6QPVQ YGrXmQGF7jILfjOnVjW32U8oH5zFDkI3qr9pZuPOJeuNijF2HQq3+BmozRpIG2inaIkI gGWP96XXY6+eo8Tc5ukR/qXAlpnuZrKzczODtpsM+FoMQGhrVJhIBir0J47GThSp0wup +U6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=C5yJlQ0z; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si6842348oih.141.2020.02.17.11.55.12; Mon, 17 Feb 2020 11:55:24 -0800 (PST) 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; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=C5yJlQ0z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729739AbgBQTyt (ORCPT + 99 others); Mon, 17 Feb 2020 14:54:49 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42397 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729602AbgBQTyo (ORCPT ); Mon, 17 Feb 2020 14:54:44 -0500 Received: by mail-wr1-f66.google.com with SMTP id k11so21184965wrd.9 for ; Mon, 17 Feb 2020 11:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vEpSrHnokxwmZhdlJaP1Fdj4KHCY0aOhXmKsmIiSb2c=; b=C5yJlQ0zN1DNoCE7vAWDdzDh2oF7j6+dHO2XT/eCYXi5m1+IVxogqmWGWqAIkmMr6c xLaTQXqKC38T1ujrVcOPc0yJ4T/o/jeILhkKJF+Yo4RVk06ZRRlBjZuZBofXxN7NWhNY qpvtrLYWbrJXIN0eIwevBaYdSJClurdxLzTVDg0Hyj30k+GG9YkpiA9oGsHEJL4jeQ64 x9T0DGwG7EahJlYYqbUbeTkglnXadRnup3TzBOI5MOgliIQDip85hI9rT2Y2h62PrxoQ bdI3q7CEUGk9wGzK2GcYWqGuBvSmrWWO05nhc3BghDKd0Jn0z9PYh3hXVfQyVHKDsUOZ DGlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vEpSrHnokxwmZhdlJaP1Fdj4KHCY0aOhXmKsmIiSb2c=; b=DGrEfzVOlYYpc6QV5rpgdFRmdPotzhDZmgm/rUvuDePdayYNT+qTqiLYz5pKxEDTCg Bscvcz2EjxbYpepiGzk9KPOT9XNe5r95Lnx/dl9buFOxry9VHETtNhLoD70yk/4gEgtm TQDNle/7LTsm92uk9Ou2R2Z6x0Fameo32jSXMTwcpsqSK5lrX+GQvavMgxajc4j2Citn iy2kC94OYKu5Pu/6bA+FYxTtBvu+Au2A158ucn0Pew1fuP5JiSp/TL/K7ss7H1tFg+hU hrcsg1b8lISkXhdf+KhrlcXV9Op9Ye/7OHnpj4pXiaFis08wlf7fPfxsYct3lOUI0mlb e6mQ== X-Gm-Message-State: APjAAAUWXkoEn8V2edPvjbh5UthiDfge/on2aQ82oHgW5awHb4rUuYTM Hy+Tk6e+tU86Ozoc8r/dORTMIRGUbis= X-Received: by 2002:a5d:610c:: with SMTP id v12mr22642217wrt.88.1581969283249; Mon, 17 Feb 2020 11:54:43 -0800 (PST) Received: from debian-brgl.local (8.165.185.81.rev.sfr.net. [81.185.165.8]) by smtp.gmail.com with ESMTPSA id v5sm2679469wrv.86.2020.02.17.11.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 11:54:42 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Srinivas Kandagatla , Khouloud Touil Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 3/6] nvmem: remove a stray newline in nvmem_register() Date: Mon, 17 Feb 2020 20:54:32 +0100 Message-Id: <20200217195435.9309-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200217195435.9309-1-brgl@bgdev.pl> References: <20200217195435.9309-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Two newlines are unnecessary - remove one. Signed-off-by: Bartosz Golaszewski --- drivers/nvmem/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index b0be03d5f240..12e2991cdeef 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -355,7 +355,6 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) if (IS_ERR(nvmem->wp_gpio)) goto err_ida_remove; - kref_init(&nvmem->refcnt); INIT_LIST_HEAD(&nvmem->cells); -- 2.25.0