Received: by 10.192.165.148 with SMTP id m20csp3137718imm; Mon, 23 Apr 2018 00:55:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx48kPDYNuvZmk5JF8msdJ1YZmCEe01RVlGvYKhvL4yhH3BTkhuJUzyAc5yAMsyQiwYgF9XT2 X-Received: by 2002:a17:902:b595:: with SMTP id a21-v6mr20021507pls.68.1524470102943; Mon, 23 Apr 2018 00:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524470102; cv=none; d=google.com; s=arc-20160816; b=gufmAr1fyWlkfjvY7OriI2UQ7Hb/bsEjzl3T8YFv6e1crsEfiSTgmGLay9FNI9J6g2 8FgPKGMW8r/C/a1g9Uwq+k/1EkIrau26nmWlH2YG2Yu11Okc6EShlXGKsceXSyfqV6AB 59gsw/mSaMBvkBCQ9C2TKfafsFDuXqDV4ev+sDNwOI6dWwiqqVxCuldL10iqWw/8SydA YSGqDcpKC3VXe4CHcjeK18m00dZDNym1NK3bTS5tTyaQ/SDTJLw1P29toPIgxU/m+6l0 l2jnBN8UzEKALvsZIy/LYSL2gTUxSQMaDceMZORO4/fl4F76x5BgOQO4kgurb3GwcLY9 iJqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=uGivU3HBlaIEPPNSwa2kczlgWfTNOimB0enPO4twrvs=; b=oe6RW0j3ggE0PQ8mRTbW7VN9Y+5dGJPZYozjbM2P68EiGa1oD59bcnx8HjUPbGgmdE pcP7A5ORPbkn5P+t0EkEg2K2rrbcwGRD6ULS6lriRQo1RbfLeCbbSafGZOK4d1B9gKEd BMglWZxAArGRJFHVND6lCZ1VQCbpix/PYaJuYqX3VEQQmjXyXy1hCB7VktmoedTVVJki bJNLtvgFFyJWp0xtCPeX8xSomoD8O8DeMgX0qbPVlp7+lwKdrVqXcZtpo4tVIi8xkc3Z jCGpM7fm9nfn6o7SNRma7YTacHSyS+kNehsdCiNK0F3aIS24XdcLej8DI1nqucCXmjga iIjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=ooQWqv4p; 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 t2-v6si11027204plo.235.2018.04.23.00.54.48; Mon, 23 Apr 2018 00:55:02 -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=fail header.i=@verge.net.au header.s=mail header.b=ooQWqv4p; 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 S1754115AbeDWHxr (ORCPT + 99 others); Mon, 23 Apr 2018 03:53:47 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:41863 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216AbeDWHxp (ORCPT ); Mon, 23 Apr 2018 03:53:45 -0400 Received: from penelope.horms.nl (82-95-191-104.ip.xs4all.nl [82.95.191.104]) by kirsty.vergenet.net (Postfix) with ESMTPA id 80E3A25B80D; Mon, 23 Apr 2018 17:53:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1524470022; bh=lEh5y/qt8yaCYF+mXo7X2oTUkM5CvigLX4u/YUjGj18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ooQWqv4psEDp4Xm4CXPrOhY/DNhKijZgI7J9BbO+QzECh0kp0JO9DbwL7N2Wruwtq ZJ+OUhyjyHil3L7/+y/I80dDAl6V3dVutXu5MLzOfFcADXeuPBKLB10xu3D7bSO3Iu ESZ8C++FJzoHYJhAL4Gj2hlifH18zKMzpbNCJogw= Received: by penelope.horms.nl (Postfix, from userid 7100) id 73670E211EC; Mon, 23 Apr 2018 09:53:39 +0200 (CEST) Date: Mon, 23 Apr 2018 09:53:39 +0200 From: Simon Horman To: Geert Uytterhoeven Cc: Magnus Damm , Russell King , Catalin Marinas , Will Deacon , Dan Williams , Vinod Koul , Mauro Carvalho Chehab , Sergei Shtylyov , "David S . Miller" , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Arnd Bergmann , Kuninori Morimoto , Laurent Pinchart , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] dmaengine: shdmac: Change platform check to CONFIG_ARCH_RENESAS Message-ID: <20180423075338.riknxyjugnv5grjb@verge.net.au> References: <1524230914-10175-1-git-send-email-geert+renesas@glider.be> <1524230914-10175-3-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524230914-10175-3-git-send-email-geert+renesas@glider.be> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 03:28:28PM +0200, Geert Uytterhoeven wrote: > Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") > is CONFIG_ARCH_RENESAS a more appropriate platform check than the legacy > CONFIG_ARCH_SHMOBILE, hence use the former. > > Renesas SuperH SH-Mobile SoCs are still covered by the CONFIG_CPU_SH4 > check, just like before support for Renesas ARM SoCs was added. > > Instead of blindly changing all the #ifdefs, switch the main code block > in sh_dmae_probe() to IS_ENABLED(), as this allows to remove all the > remaining #ifdefs. > > This will allow to drop ARCH_SHMOBILE on ARM in the near future. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman