Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5085028ybv; Mon, 17 Feb 2020 11:57:02 -0800 (PST) X-Google-Smtp-Source: APXvYqy+eMuQsZwuuWWpCDFimGGflISPoHbgtsaWjHBxROVWkVP88Tk233sG1AaTYDCGxn+gVESU X-Received: by 2002:aca:ddc2:: with SMTP id u185mr451488oig.24.1581969422415; Mon, 17 Feb 2020 11:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581969422; cv=none; d=google.com; s=arc-20160816; b=INsR2DfDwGk2JJRwbsMU2hJnkP4ev+zUrfWqagpKIIWYyHKJmyQA5yD45nlVcrOUT4 /34RAl9P4hZOncIS21fmEJivaCl33V/5HRd2G5EyUHFASvgSbF4teCvHkV2VWgQYR9sU iP4SgWnKttaV7aEsI+Yqob6He010KBKZPBU3LHe/QcfpTKE5Q2nwD1kOsDO/vpF/Vfs7 NSF34CtMfmb/jYflrUUY8sdtxS925hKHuu3vSawEDcISg322vMdihTiH344ZUCFFi+qC yxpNOSWLPpeCiRXGXRm1S/2i3AW8iepYo4oTufWG64ygHJnY0tZXTTzoJS6inPPGXbil 0UMA== 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=Ibj9ygukPb9JYTU3mvyTkp2n0e9w9M7BBgYCc3RsiE0=; b=Uebkrh+W74GIe1hUBT4Mc/7u963BqGev1BcVlioyR+mc2zXlWP8+n7ambxCPE+cYfI g2VYqj6mhYRyGnYBWe4wwNJ9VpssqzgB0/gWXCSpnU/IZupgPdBStSUPfRofd7KaJdr4 hVgHoDSYsxk9VgGn/+avAru0Dz9I4TRjlTe0O38zLjI5Qd0Z77XelVLidN5PqNVRWj6Z zh71Cuj1+2BJqAgPknXd5zMJsER+e6Y9g/2cb0HYSjWvlK3aAoUO3vIpszzTL5x9d1Rt gvp+PsrcJpcQdBP+0ju/oJ6cpa9LFEh5jlVU2t8WD2jiBJLtraXxE0KaybPxQZsbtqLl oRyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=AfUrW2gb; 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 e64si7037428oib.4.2020.02.17.11.56.50; Mon, 17 Feb 2020 11:57:02 -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=AfUrW2gb; 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 S1729761AbgBQTzE (ORCPT + 99 others); Mon, 17 Feb 2020 14:55:04 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42403 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729659AbgBQTyq (ORCPT ); Mon, 17 Feb 2020 14:54:46 -0500 Received: by mail-wr1-f67.google.com with SMTP id k11so21185049wrd.9 for ; Mon, 17 Feb 2020 11:54:45 -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=Ibj9ygukPb9JYTU3mvyTkp2n0e9w9M7BBgYCc3RsiE0=; b=AfUrW2gbRewzH09iwIz4mOgbGI6xRBf9V9DBjRYX99k7rC43NLrIJeL6iJOtP29bzB XCOotyERZgjri2cgQbwB4/Xo+gvADjygCIZtn+ulJDnkKEj4NAwMK5r1IX0RYRQSwLve 7kxRgQI6sHIb0PzQ5N8S/BuHDaQ4vkSwMm5wASgU/fuzdt7pY6b52pbEA92AZc/sI+0A mcwUlZB5A/LUknqRjE0c/UFaDX4boKsYsSjzLplgC/LBi17NNk5lWG11u5m0oBrTCoe4 WLUWqiiC1tiNhiMhs3bf0+mvd9Hd6ZQemDM8+sGDb5uKBs9miGLRl065Hzb1zNdfuAIY XrwQ== 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=Ibj9ygukPb9JYTU3mvyTkp2n0e9w9M7BBgYCc3RsiE0=; b=I2i61wF/Olno9BC3JTqTpDFIJ/8ArMTheG+NSZXkO+6/HmeDlLB1VKhKOo4OsRNtaC H4CKqibtB6wsHH/SrPXtoqhF+SUw6AH7KYaBTvC/PkJWXZWBEJa+DdFfHpx6eQ/G84aV MSjhaHMdF8hxVqO+1xb3GT1/EvJfPKs6BZxTFY7EaprO8WHkw8o/1wdZ8uW4wgXmMbDL GNzQM9jyR2xMpx8+hOOiLhr9QRLYMEKGnULs3vS0H3xmMbXqidbyJmz/HnpYqSzUj8lx 4HVRm9zH6LX2QNZ6RJKuNV3g9qY5iQEjM3IhhEScOOVCRibFYRy7Y+GHZpEVVCPC+4v/ 0Sfw== X-Gm-Message-State: APjAAAX2OPbhfL40XllWuqENEq1+vT174Nd+AbO/qwszeAsAftu1qYAZ hfFgtKjJ0AsUnd/UBfNDi4/v4w== X-Received: by 2002:adf:93c1:: with SMTP id 59mr24275455wrp.399.1581969284441; Mon, 17 Feb 2020 11:54:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 11:54:43 -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 4/6] nvmem: add a newline for readability Date: Mon, 17 Feb 2020 20:54:33 +0100 Message-Id: <20200217195435.9309-5-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 Visibly separate the GPIO request from the previous operation in the code with a newline. Signed-off-by: Bartosz Golaszewski --- drivers/nvmem/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 12e2991cdeef..07af9edea9cf 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -347,6 +347,7 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) kfree(nvmem); return ERR_PTR(rval); } + if (config->wp_gpio) nvmem->wp_gpio = config->wp_gpio; else -- 2.25.0