From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B71FAD3C937 for ; Mon, 21 Oct 2024 07:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qgx67K3hT8W4O1WXiCnClmGznXaYijQQXwTNJOcfdok=; b=WqCXLwMDL72z7zS70mux6Lg8rZ yrpl+5FeMR6rePbLDewBgE2OB3LbDdGgcmjdhRrkjDzzJI3xiHulngW9fjUBl26fDt6Jpr2o4adIn JOlqF+UwEiaYOVN/wIVPI1N270zWUU2ws+gCUQ4XGadHaAhcirA2BPQusK9iAwJNlfsPS+4HX4O+R b2GNTHXRfO7ezJHslTGHXT9Hsv7DrBN5NXxKp41sdHcUye70XBr/PoFBQXj4GNqiiRbxFopzEfN5n hRhrPALNMuBW9NZvMyW/noxiHd/OyB0Al7j6q4OGjvLwb269nSmtZuVRCAp1+i2hmPIze1n6Qh7dV l/ITlDBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2mgD-00000006L5L-1fkl; Mon, 21 Oct 2024 07:18:17 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2mOD-00000006I4r-2cpb for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 06:59:44 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 54A89A41A5D; Mon, 21 Oct 2024 06:59:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FAB1C4CECD; Mon, 21 Oct 2024 06:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729493980; bh=sqJe+SYePyCORlcWttoZCNBV3dX9EBKVbW24Bl/SPdk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AYIsNk0fGuwE2EAH47lCz5VnfTV2jCfOQPg1WzZh5Ehf+Y6kY8I9mxZRPjNhw0elt D2rUxNKfgl5rB9QTHOdDft/zxXd05Es89gOI9FmmAIUH8lB9r3IzqksSL7ZvF/664/ ylKIJDVWE6eRIxUuyJsMIOphrutj/u0LW9WAjVqk= Date: Mon, 21 Oct 2024 08:59:37 +0200 From: Greg KH To: Mihai Sain Subject: Re: [RFC PATCH] tty: atmel_serial: Use devm_platform_ioremap_resource() Message-ID: <2024102151-showy-partake-a2aa@gregkh> References: <20241021064321.3440-1-mihai.sain@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241021064321.3440-1-mihai.sain@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_235943_061559_B0983B6A X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, jirislaby@kernel.org, richard.genoud@bootlin.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 21, 2024 at 09:43:21AM +0300, Mihai Sain wrote: > Simplify the request port function by using a single call > to devm_platform_ioremap_resource(). > > This will also enhance the printing from /proc/iomem: > > cat /proc/iomem | grep flexcom ; cat /proc/iomem | grep serial > > f0004000-f00041ff : f0004000.flexcom flexcom@f0004000 > f8020000-f80201ff : f8020000.flexcom flexcom@f8020000 > f0004200-f00043ff : f0004200.serial serial@200 > f8020200-f80203ff : f8020200.serial serial@200 > fffff200-fffff3ff : fffff200.serial serial@fffff200 > > Signed-off-by: Mihai Sain > --- > drivers/tty/serial/atmel_serial.c | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) Why is this a rfc? What needs to be done before you want it merged? thanks, greg k-h