From patchwork Fri Jul 30 14:49:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 489325 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:1185:0:0:0:0 with SMTP id f5csp3221858jas; Fri, 30 Jul 2021 07:49:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2rxpME9nqc8JGMrORSOwH5o5dpG1+nXEvucaNvCaiiEJaQPCCX7tVmEHE1L9lj5pIEfGF X-Received: by 2002:a05:6e02:1a8b:: with SMTP id k11mr1055208ilv.136.1627656584102; Fri, 30 Jul 2021 07:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627656584; cv=none; d=google.com; s=arc-20160816; b=fNpAwFaiIfT79yiaapbya43exNFe8BFHy3IEh0bSBOOnQTjtInhagzV7i1yhKnGQag HyYD+H/3AXEGx3EhtkdB4xYI6ofjy+0RtXT6B7wS/9TulkvjRsKltjOVE+Cl697cxYIM LN7pqy5GCfOL3876bd9hv5wVs9itkngsiuggBh3NWIv7UcOSqFIZnLu8Wm1A/d03oW2U OVw0rxqDXAQn8GZTMBxZhyrKVe2hVqLQI0p6lYXndL3cuoCbDoHFcSyzkaNLzm4VNWrr TZ+eRE6o7y5oxh+5E7SwRwjVSCjCsctFTJi0nvZzHS9lbIJAruysONMZgqfXaKIQVmoi j7IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ot32ht04BXO8SKhUwdTi6PwT+/ZyNLaqR53YTHmra28=; b=soLX25CowF3pNFmX1aWyE0iV5D9XiNvXUw1rsIUOLjLnhBun740GBizCLDL5SDLdhg seSPcyZHFO54Q5FzJMmMOhY8ugJhBx9qLUoJLjUY4EbvBoSYQMUdT0eJVgy//NGLxNkA YVWWVeKyIYcss1CzwZ6i3zVD2/pd1LWOenTtNHWRa1PxFcpj1TPrJO7SDEo3RwBc3Lge yc5M4l8+WhvhpUUvjm6sV+fJhrcvTijJMpk75QrUoIlz/t5KqpdNVijV8hz25+EW7v2S /6WR7lQtBVIXl7BiKFUpFm+ussS9Di9vZitJTeL8U+vW41/hZNTEftg3/SKijs312R/t Wf2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CH1XwFDM; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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. [23.128.96.18]) by mx.google.com with ESMTP id g6si2029207ilf.57.2021.07.30.07.49.43; Fri, 30 Jul 2021 07:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CH1XwFDM; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S239494AbhG3Otr (ORCPT + 3 others); Fri, 30 Jul 2021 10:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239418AbhG3Otk (ORCPT ); Fri, 30 Jul 2021 10:49:40 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0641CC061382 for ; Fri, 30 Jul 2021 07:49:33 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id x90so13519146ede.8 for ; Fri, 30 Jul 2021 07:49:32 -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 :mime-version:content-transfer-encoding; bh=Ot32ht04BXO8SKhUwdTi6PwT+/ZyNLaqR53YTHmra28=; b=CH1XwFDMONkRoS0L/kjL/lrkowO/ss3qdcPZnBTDvs9TyvKmuerCCsIOLDQ9whEtb6 LW4ewm6dUjJsvwEntmn+i8e6kPjj/FgSpYDhkxFjVmelJcH3ZhgN36FF0dxTD1qPnf6P FBXuv+h7IKzdGuw8Uyr2ElP4rMeGixDfNhev/gZamNoxmF/aIMYvjdbjO3vcgi/079cy 07aaQRfBED4oskkILUpFNugLxcz+o6RS1BLFD4+OdlaR9aXEiIpedeZE8fE1ovYCH5R3 lxiDVpYXFudf4biV3k/60rOdqE665ZtCoAD4SoPrQtq8xxCqsIwIZU8i9D+EL4Q9Wbl8 KTcQ== 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=Ot32ht04BXO8SKhUwdTi6PwT+/ZyNLaqR53YTHmra28=; b=WG6spF5eQndfPjJzHKgUA69aymw3r9eFTzb3TieLVin+hs5rtQUhrAkT9s/jaEtsh1 6FnEgyYSuxe8I3jzPxKHu14tl/fPFk7pyWvn1hDyssG8T+LL9I4SmTD1r40IVLWQcm7K q0E6bF9sRh/MlaE9aZ0z3e3nemQkmepbjd7a5xjI8pZfk3s91vtT8vUqLlr2Qze4ngoI frTMrIUxbVShccVZRP+hwoUTq9r9VO33sutF/B5OqScQxQ7nwrwDHX/vG7fgnioBuoWF 63NHHCFWYO6uA+Ltv4LCk5RKDkKKeuy0sYNof8y2knD9F7lKsVZJFypZhH2+g829t1ox LxSg== X-Gm-Message-State: AOAM532ttr4b4lGLX5FyyKbtzvdmFZ1joHZN1OwSxu2ssI8jfxLE/Iba 8MWKXxrGGFX/i6rL3t5E+hyv6g== X-Received: by 2002:aa7:df09:: with SMTP id c9mr3446384edy.379.1627656571652; Fri, 30 Jul 2021 07:49:31 -0700 (PDT) Received: from localhost ([31.134.121.151]) by smtp.gmail.com with ESMTPSA id ks26sm639920ejb.58.2021.07.30.07.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 07:49:31 -0700 (PDT) From: Sam Protsenko To: Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Linus Walleij , Tomasz Figa Cc: Rob Herring , Stephen Boyd , Michael Turquette , Jiri Slaby , Greg Kroah-Hartman , Charles Keepax , Ryu Euiyoul , Tom Gall , Sumit Semwal , John Stultz , Amit Pundir , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 05/12] tty: serial: samsung: Fix driver data macros style Date: Fri, 30 Jul 2021 17:49:15 +0300 Message-Id: <20210730144922.29111-6-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210730144922.29111-1-semen.protsenko@linaro.org> References: <20210730144922.29111-1-semen.protsenko@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Make checkpatch happy by fixing this error: ERROR: Macros with complex values should be enclosed in parentheses Although this change is made to keep macros consistent with consequent patches (adding driver data for new SoC), it's intentionally added as a separate patch to ease possible porting efforts in future. Signed-off-by: Sam Protsenko --- drivers/tty/serial/samsung_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.30.2 Reviewed-by: Krzysztof Kozlowski diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 0f3cbd0b37e3..75ccbb08df4a 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2817,8 +2817,8 @@ static struct s3c24xx_serial_drv_data exynos5433_serial_drv_data = { #define EXYNOS4210_SERIAL_DRV_DATA ((kernel_ulong_t)&exynos4210_serial_drv_data) #define EXYNOS5433_SERIAL_DRV_DATA ((kernel_ulong_t)&exynos5433_serial_drv_data) #else -#define EXYNOS4210_SERIAL_DRV_DATA (kernel_ulong_t)NULL -#define EXYNOS5433_SERIAL_DRV_DATA (kernel_ulong_t)NULL +#define EXYNOS4210_SERIAL_DRV_DATA ((kernel_ulong_t)NULL) +#define EXYNOS5433_SERIAL_DRV_DATA ((kernel_ulong_t)NULL) #endif #ifdef CONFIG_ARCH_APPLE