From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0rlP-0005Gw-Nk for linux-mtd@lists.infradead.org; Wed, 19 Apr 2017 15:43:29 +0000 Received: by mail-wr0-x242.google.com with SMTP id o21so3742133wrb.3 for ; Wed, 19 Apr 2017 08:43:07 -0700 (PDT) Subject: Re: [PATCH v3 3/6] mtd: dataflash: Replace pr_debug, printk with dev_* functions To: Andrey Smirnov , linux-mtd@lists.infradead.org References: <20170419152305.17226-1-andrew.smirnov@gmail.com> <20170419152305.17226-3-andrew.smirnov@gmail.com> Cc: cphealy@gmail.com, David Woodhouse , Brian Norris , Boris Brezillon , Richard Weinberger , Cyrille Pitchen , linux-kernel@vger.kernel.or From: Marek Vasut Message-ID: <2033d520-c908-0d89-e17f-b55f7210b69d@gmail.com> Date: Wed, 19 Apr 2017 17:33:40 +0200 MIME-Version: 1.0 In-Reply-To: <20170419152305.17226-3-andrew.smirnov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/19/2017 05:23 PM, Andrey Smirnov wrote: > Lion's share of calls to pr_debug in this driver follow the pattern of > pr_debug("%s ", dev_name(), ), which should > be semantically identical to dev_dbg(, "", ), > so replace such occurencies to simplify the code. > > Convert the small minority of pr_debug that do not follow pattern from > above to use dev_dbg as well, for the sake of consistency. > > Convert similar patter of printk(KERN_ERR, "%s: ...", dev_name(...), > ...) to use dev_err instead. > > No functional change intended. > > Cc: cphealy@gmail.com > Cc: David Woodhouse > Cc: Brian Norris > Cc: Boris Brezillon > Cc: Marek Vasut > Cc: Richard Weinberger > Cc: Cyrille Pitchen > Cc: linux-kernel@vger.kernel.or > Signed-off-by: Andrey Smirnov > --- Reviewed-by: Marek Vasut btw where is 1/6 and 2/6 ? -- Best regards, Marek Vasut