Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3689076ybz; Mon, 20 Apr 2020 07:42:51 -0700 (PDT) X-Google-Smtp-Source: APiQypIlc+H5C9QVVErFAbKFHe4rj/bOzjuVJMQALWRo/1bHvlOYL6VHQMaIYIamGXbI17QCjxtV X-Received: by 2002:a17:906:15c3:: with SMTP id l3mr10581916ejd.315.1587393771580; Mon, 20 Apr 2020 07:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587393771; cv=none; d=google.com; s=arc-20160816; b=KEMFt7SrG3YPA6ejlfVwLrGOIjpGZ+gj94h5rqeBcB6irHCHdYPUtrcByvKHe11oz5 eeW9wpIvrGxe7K9Lw/WusOLkuPHlvI3Leps5cZ0Z17fpdMVdj21gmMymgxUfzApK/XL0 YdAYNJPSF0gBgXB1hVJWTEPUgZdovhs8p80bPlbY2L/ueZxieAW7wGC9O5T29r1+5m/S hnf8Nam3ezFq/QJ/bDvjHWCHSDjaoQwmdxAS/uiXW2DwEsqIGsoemNSCsJA1fThLH81n C/DMvhwHFWV0fV7w/wgsrcUcA37x3Tq/ZlVxzBi7oYFl3i9cmKWVvHU9fYO/JjmCpUcM tU2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1TAgcxIt86/pBZoXVfOkKX7rv0NrEGvRTPnHP44Lt+w=; b=T0bq9WwAJzMRpUsGt1BZe9Vf5RFeKIGoqRbp78ugHcrhb260pTl4uoNiIrIrTaneeD tzF9A95fptLbiQw07+LHxkd2KiSc+W7PJKlh38MheXsso5WexAIB5FUTFpQHp0GdjpSj Oi9miPiGBSis/sTWr9UJ7FT/eWFr3C/nlTTbn8fBKzMZL7iQGYPOO2hCgcWpvqtwgnNA tsRbZWrK6bgv5Biins3xIGRDthAdokSEVblnv2O4BPip//vwmduYEJxN12MNBCQR9GII 60V+zZfG25cLcdGF38OQwO4WSJVCHv5rPCzsrBc8q34xFh8ZXCqFLgXvpAqdIw/SXaGP qFUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WWDlb6SF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si656327eja.298.2020.04.20.07.42.27; Mon, 20 Apr 2020 07:42:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=WWDlb6SF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbgDTNNc (ORCPT + 99 others); Mon, 20 Apr 2020 09:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726050AbgDTNNc (ORCPT ); Mon, 20 Apr 2020 09:13:32 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFC50C061A0C; Mon, 20 Apr 2020 06:13:30 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id ng8so4566134pjb.2; Mon, 20 Apr 2020 06:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=1TAgcxIt86/pBZoXVfOkKX7rv0NrEGvRTPnHP44Lt+w=; b=WWDlb6SFnnPcrUNjIa1hQgMf2be2Ej55anqWOXEjcohow9GEJAFR8b2vFR/+Z6b3Ay ES6An7SYMLfKug3SNa/XyetLtJEmclrWAMjyWRWOP6nkoPcnCBeBl18P8Akes2xDHlYf y0vPqjQrRHxOBfxM9QeY5WcBYBnidKhOAlY2mo1DI64fwJK2LAEp9MgulN/oFINeDUTQ 5M2MmSFQWHC2GMkIBOyf0ULo0o/m9S9qmj+NKeugqEFi3T2nxXWnBsx4RPFCw20cKMaJ FJ4Ks0a7HYY4CzGfhQjFwnSbKWA6c98nn0IjRp8aCRkzAlBLj1FH3WfKtL7YgSIwqjQZ PBOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=1TAgcxIt86/pBZoXVfOkKX7rv0NrEGvRTPnHP44Lt+w=; b=V4mtj8XeFYNc/JADQ9zMYxVhz9YkS7S1ITt7YVMnAgDSLFKXA2ZfcLzSWt7dYugJfX SETF7Ej9A2KqIfB6NiXxU5cvUuAZJO+DnQtbEhWRv4ekehjTIhmUzqCPPZbfV+fJYbG0 tYW+//ghQ4aK1DMC/8eEyPbC8TbR4Fifk/a0pqfnWezZhcZ46f0Zv17dCsgfpke0iQSX pePEA+q4Bog86928zvxXPFHhJpm180BfTEdil9YLPiGmx7YVLsFIs6n3d8nmPs3mQGGL plzDaGRDkXpp8JSBxLYWPtMWJ08w9AMwwtIF08TXH79Jsas3ePsLhq3NR7SNGxIOgGBX CsBQ== X-Gm-Message-State: AGi0PuZeBysAtgM9bsapfVOoyO1Cx/ge4vqUxhbQGcRWW/AB5gxNDd2i P/WFjFaBDicPi6Rl9S3tLN4= X-Received: by 2002:a17:90a:32ea:: with SMTP id l97mr21405427pjb.50.1587388410421; Mon, 20 Apr 2020 06:13:30 -0700 (PDT) Received: from localhost (89.208.244.140.16clouds.com. [89.208.244.140]) by smtp.gmail.com with ESMTPSA id o187sm1052194pfb.12.2020.04.20.06.13.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Apr 2020 06:13:29 -0700 (PDT) Date: Mon, 20 Apr 2020 21:13:27 +0800 From: Dejin Zheng To: Markus Elfring Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Marc Kleine-Budde , Wolfgang Grandegger , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Coccinelle Subject: Re: [PATCH net-next v1] can: ti_hecc: convert to devm_platform_ioremap_resource_byname() Message-ID: <20200420131327.GA8103@nuc8i5> References: <08979629-d9b8-6656-222f-4e84667651a1@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <08979629-d9b8-6656-222f-4e84667651a1@web.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 19, 2020 at 06:19:12PM +0200, Markus Elfring wrote: > > use devm_platform_ioremap_resource_byname() to simplify code, > > it contains platform_get_resource_byname() and > > devm_ioremap_resource(), and also remove some duplicate error > > message. > > How do you think about a wording variant like the following? > > Use the function “devm_platform_ioremap_resource_byname” to simplify > source code which calls the functions “platform_get_resource_byname” > and “devm_ioremap_resource”. > Remove also a few error messages which became unnecessary with this > software refactoring. > Markus, Thank you very much!yes, your comments is better. I will send the patch v2. Thanks again! > > Will any more contributors get into the development mood to achieve > similar collateral evolution by the means of the semantic patch language? > Would you like to increase applications of the Coccinelle software? > I want, but currently I don't have much free time, sorry! BR, Dejin > Regards, > Markus