From patchwork Fri Jun 22 08:09:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 139581 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp580631lji; Fri, 22 Jun 2018 01:10:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJL8kJN00Udf6fEa2YIVY9nYtP7zeWp61o2JXtnHkvx3Sb9GXHsLcXPfWLPRH7kF6UGA5Eo X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr620705pld.268.1529655012029; Fri, 22 Jun 2018 01:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529655012; cv=none; d=google.com; s=arc-20160816; b=RFrR9z4vvNle21NRoyYxp6LylxXD6wLC9ZY4TG3ctWCE/OsjBj/qGobpyuXcgWcuOx u714XWazUI40RlWr6v3uWHlkrghkF/Mzeo/bl4VCktrLqEqZ7XSzSEvodIDghiQcs+n6 SIWibDtbs6b1OI7Jn+wp3Wi9ESYi1l0woUTTzkzsfXigz+mQOJFuq8twJVkrjNN2VPF2 FCkYjnJ2ljAZ/16mDkO3t2DRD0LCAnNtJKgFT3kdu0OxLM6fhZknVkUfCBcvHYAHeXq1 +Kiwo6Gco/1hITdDk5yyNgKZr021bnqLs+p06OddkmehAcak42U8zcABeBpWNB1PW20i ySnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=UOdkApVVBA+z4FyuVcx5+Va8JRtm2Zu3pthKkD+YL98=; b=A84jm4iX/nZHQyypfJwNU/0LQ71XfBkqYfuuqBzu6xJJHEcM+QzE38Ph1RnYHhs9QG t0/PBmecZb3tNCJO9bK00IsEDliLmCRu3b4o/n0/7VcI9zqKK+q8HhvNQXFimNdlmyCj I/kWLrYH63odrZbxFV01LNpdpkWu9jI5sdCPqRs9zEU9c1g8o/cBy4cbkY3eGbB1Pbtl obBG8cOzh3CSsLMnRkK42u9QKUowmdNlCUBNuBWyWfOq4C7XWnMBFl3+wYZwlkPYdyZp VxNgQ/i71D+/23GRNEwKWChLECx/8TKMd8vIXMWPPJ74DEgW9M7+2BltU9n5gWA96yvg fyZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OsoA7xBW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8-v6si8100476plj.40.2018.06.22.01.10.11; Fri, 22 Jun 2018 01:10:12 -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; dkim=pass header.i=@linaro.org header.s=google header.b=OsoA7xBW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754295AbeFVIKH (ORCPT + 30 others); Fri, 22 Jun 2018 04:10:07 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:33431 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754173AbeFVIKC (ORCPT ); Fri, 22 Jun 2018 04:10:02 -0400 Received: by mail-pl0-f68.google.com with SMTP id 6-v6so3111502plb.0 for ; Fri, 22 Jun 2018 01:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=UOdkApVVBA+z4FyuVcx5+Va8JRtm2Zu3pthKkD+YL98=; b=OsoA7xBWvV27vxKUrsD2CDeNCrdnaaAfqqOKMk4RNQr+ZIMJ9Q8k42h1xEeWeXON3c 6+E5f2dLG/4hbIhBgaI3heMEEajkGBLFozNMwjKrjR4Ami+RUfskpuqWrK/nxRoc2R7X V38J4MzNBi6um5MiB8pZ7xvkTZ9ghc8C7ibWg= 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:in-reply-to:references; bh=UOdkApVVBA+z4FyuVcx5+Va8JRtm2Zu3pthKkD+YL98=; b=g0I7CvUOTfeLUychLNeOBFjOYpJQaheWqyT+mHGSCO8m4YUCaoYwsoTVfBM0itvWhI eY1uIHTgftqgpD5h5Nuv7RMYstFDMdZhKaxjzUZsgoAgNaYdmqrXnepcr070oQSYY/Ob DrVF38wxIF6vJyN/11k56GLXAJcNJZyf+P73V3XVsyg6LEMgMTlvcARvf1o19QbbLHOW it05QQ5eiGWFCOTmfJTR0Yq9WBe224zwYq5+GriwNUEz0DC18UeM01hcz8GmfLCD68Dk B6v0lYaJP5eFpS/rhzPYAnUqKiEyH6ncrvmagGwLKKln7nPL3Yb086poqwYoFNQKg6eH 2yfg== X-Gm-Message-State: APt69E3ukC7ATrrxFTEkZ54uD35r5HgH3UkxjLFzK1BNnMIG+BQx2GH9 of711ZGsJs7D9SRqn1ByiKL7DQ== X-Received: by 2002:a17:902:aa83:: with SMTP id d3-v6mr576991plr.323.1529655002093; Fri, 22 Jun 2018 01:10:02 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id i65-v6sm22656131pfd.17.2018.06.22.01.09.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Jun 2018 01:10:01 -0700 (PDT) From: Baolin Wang To: ohad@wizery.com, bjorn.andersson@linaro.org, broonie@kernel.org Cc: baolin.wang@linaro.org, linux-spi@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] hwspinlock: Remove redundant config Date: Fri, 22 Jun 2018 16:09:01 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The hardware core can not be built as a module, so remove the redundant CONFIG_HWSPINLOCK_MODULE config. Signed-off-by: Baolin Wang --- include/linux/hwspinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 94064cc..0afe693 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h @@ -52,7 +52,7 @@ struct hwspinlock_pdata { int base_id; }; -#if defined(CONFIG_HWSPINLOCK) || defined(CONFIG_HWSPINLOCK_MODULE) +#ifdef CONFIG_HWSPINLOCK int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks);