Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1358408rdd; Wed, 10 Jan 2024 17:48:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPrulYPiyQuWOXiCyPwVtp/H0egLVklmPJ7dLoivu4i58hBDJNUTVnQ+LVTz2lBaeFGOdu X-Received: by 2002:a05:6902:18c1:b0:dbd:c1d6:231e with SMTP id ck1-20020a05690218c100b00dbdc1d6231emr647661ybb.47.1704937712024; Wed, 10 Jan 2024 17:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704937711; cv=none; d=google.com; s=arc-20160816; b=DF9WAsnC3FcgNmYzqJ60SygwKRR1Ub1tVXM6GmWp2SWYR+yLnBmwPnsEOvQFlsHSE0 nk0FTY6sUh8DYAUyJhIUDOwG9Q75ZBOYdaOtxVyi1Hp8tx1AFWJf7R/siBT0NTDDk7RD cN86vGb6Al+H5YglJeBgSRCFE8vv+vz/OJhGkak8OtgsD6Gfa0RT/PRK1yw3AoZlu06+ az6qIyvjXIgrfZnGCvrqwYiPHRhAhwLAJLxr/VLZf8TXQ/DvH2i1dPTEfOhDLfOaDpuf YQMB8KpRHFZxVQ25pHhyTRj+Zj1p/FfgvLHceC5PUYN3Yzv4S6fl4HD55SdKd3gzW2US ghDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=k5VNdGMF80cW8A+9od/r+mA42tX8H/bCQrmzoQSX/SY=; fh=15NxKmfpHIarak0TmxVliAnerT4WphpUV6xIUfqXDHI=; b=Dzxp0oPwkJ0gGzlQj5JtXliLlbN2Rh15NovYbMsSV1/9gMmsqFJgfv5oOykjO8L7sa 65vDTvOIVz2Q8/tCxzSwSwMTkCc8RRaLaIbdCk5Z6YHdREg43YMYo81gJg5zm+17t58M 7BoP8/t6XdimMpj6TFpzp202U2Ax8q91TJu7mcQzp0Pt3bTl0TGOY0/N9JrP9bnYRvp3 uw4NoUKjpzANrW1zi8HY1HwTXdbfbbwzyPs0t6SHp1PvrJpTuECw60wqKrYKa8P/3Gi4 mg5rpXEPgcrl0pnNAodkjuRwl1/e0mQtwauLLNyL/F1/3ocvd+p+c/OepLiKyH1C7/Xk 9/9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=IaOwmW4x; spf=pass (google.com: domain of linux-kernel+bounces-22934-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t22-20020a634616000000b005cdde8425cfsi7564pga.611.2024.01.10.17.48.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 17:48:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22934-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=IaOwmW4x; spf=pass (google.com: domain of linux-kernel+bounces-22934-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CC220B25E05 for ; Thu, 11 Jan 2024 01:46:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24FE7809; Thu, 11 Jan 2024 01:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="IaOwmW4x" Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.8]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37EB87E4 for ; Thu, 11 Jan 2024 01:46:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=k5VNdGMF80cW8A+9od /r+mA42tX8H/bCQrmzoQSX/SY=; b=IaOwmW4xcICu0x76jKckESsSDt3+tLdC/+ cPJDRReKTW4MNsEUnfo4iQ6ok5sedGFFpU23mEdsrdc/E7mdwcyppZV3KOAKgIhg pxb/FnchXE4SoThMyozPF8hHVnRkPYVwCljkqlUc60u7QkyFnrmydC40aVJPLKLM oPLfPNBtw= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g1-4 (Coremail) with SMTP id _____wDXH8ZXSJ9lgZ0sAA--.12694S2; Thu, 11 Jan 2024 09:46:01 +0800 (CST) From: chenxuebing To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, chenxuebing Subject: [PATCH] mfd: twl: Clean up errors in twl.h Date: Thu, 11 Jan 2024 01:45:55 +0000 Message-Id: <20240111014555.5117-1-chenxb_99091@126.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wDXH8ZXSJ9lgZ0sAA--.12694S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtF13tF1UXF1UJF1UGF1Utrb_yoWftrb_Cw 1Fyr4UWrs7WFn7tw10q39rtFs0yw4UJr15WF1ktr47JryvkF45Ga4DCa9rJryUurs5uF9a yFWrKFZ3urnI9jkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRCa0P5UUUUU== X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiHAlixWV2zz23nAAAs4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: space prohibited after that open parenthesis '(' ERROR: open brace '{' following function definitions go on the next line Signed-off-by: chenxuebing --- include/linux/mfd/mcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h index fd5cafc77e8a..ed56c67bbbc7 100644 --- a/include/linux/mfd/mcp.h +++ b/include/linux/mfd/mcp.h @@ -53,7 +53,7 @@ int mcp_driver_register(struct mcp_driver *); void mcp_driver_unregister(struct mcp_driver *); #define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device) -#define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) +#define mcp_set_drvdata(mcp, d) dev_set_drvdata(&(mcp)->attached_device, d) static inline void *mcp_priv(struct mcp *mcp) { -- 2.17.1