Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp392152lqp; Sat, 13 Apr 2024 01:31:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAHilbGm330pKsvR5kF8rIGtGGtwjs64osKiiqPyg1KUs/asDChrkAxRZQ9p5PewJ2eqYZH8oIp6VVTC+U6XTjmvT9pPs7DUNqzyJBgw== X-Google-Smtp-Source: AGHT+IFBEL13mHN9MKWnamp6Cm+WfUM2Q3c56GoY+4gGyQVubgb7nv/494fsUZ3+1UnHHzkWHi8P X-Received: by 2002:a17:907:724d:b0:a52:2271:8fd with SMTP id ds13-20020a170907724d00b00a52227108fdmr6284927ejc.15.1712997098944; Sat, 13 Apr 2024 01:31:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712997098; cv=pass; d=google.com; s=arc-20160816; b=WN0NKyB5/GNWXiKDq8rKKl7EBTcNCEAqAsVrRUD0YKZdUKfJwjSY6//Dt8DcYQteQX 3dQr8v3xFG+jkTVUJOitY4t9MYjYgknQ14SPKPOS8NeUnnv+af4QMBcVje2RDeDMBctl 8guVADnKqffQq6St/KJY72TimB0EABYCUCZh3uc/aZ0XKFtfze0AvW5VlVoQCSXGvF9a r7BsarKNLJakzz/cHzXMoGlS5G5voZZGYJmciaT+RcPlOEXt6/Fw1mOHBZDMALtxpj9A ZEpLzubmGlM14KGReCajWzb5d3I8WxzDTAm/3wNRduQAnMM12PunmBKZtJwARmEeLT0L ViMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A7qrGmsjtKPxt4eagmBExf5j4kOgsRSUHQ08XG7aeuE=; fh=e1d3JGWOLDS/9IbLTadAyPEWyrIC4ATUB3KCsmIvxPc=; b=pi9L0uE79kbhPZA+Ym0urFZADD8d02FIfqIsS3it/YkJ/rrntn2OmcmJ2eT1qc0J2Z qNzkSSgsJnKbsRHANOAfQPjYVWJWOb8K6j6ntHEz+3VYhZ1jttIO1zx9Li8lKwYLvvgD lej4bRrLfJJAtTAiE2uAAJSA8WayL2cIgjIkMpYU5LDNdDRlDnLNBde74kMirvqsW4QD OogYU5diO8PnuNHB1ZOLmbzxXLsRtKoD762JytW8wFO67Br5HQ/cInoza07z6D5j0lRQ FPVPEPA/L84vKx/OyUl3DU68ZBgBpszVnt5Yma+CQq55CEu29PM3CdFEZqxyh1y4hS82 6FKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZgaV4HXv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id pw10-20020a17090720aa00b00a51dfabe259si2420092ejb.306.2024.04.13.01.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 01:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZgaV4HXv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9E0B81F22233 for ; Sat, 13 Apr 2024 08:31:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18AB71DFF5; Sat, 13 Apr 2024 08:31:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZgaV4HXv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BB5D366; Sat, 13 Apr 2024 08:31:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712997091; cv=none; b=Hy2FI1gcBwnL6XygNuBa1RuqA6ZFnDfbRGedwhEj6J+qKtB4JtaU4K+5wihj+V0KS4RLbeACt5NbR5ozER5+mop3PVo7XfYbXxSBkHbTI44CsCQ5RgpbynohuzlVeHMNr6oJr7SsOEo2LpVPjV4jj7nXVz4Micfuu7SoDu077EY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712997091; c=relaxed/simple; bh=w6tHrbN1gz8u8i97H3GIjGJiI9OQ0hR78mrZ/VG0kxg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xtb17zItJ0s50wu2xmgATKV+DGKu9mztM+tpXU2woSHEX2UsVdcj1ACqLKpLVUK+vOEHOTMB7gdtb2eaVm9Tx3nD7FOhEcdVbmX8dVQj5HN2unltEpj+lM1wn7ljvBzf90e318EvWmM3k6wdX1vYUkXTERgRoBQdYhJn2MpaBKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZgaV4HXv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B354C113CD; Sat, 13 Apr 2024 08:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712997090; bh=w6tHrbN1gz8u8i97H3GIjGJiI9OQ0hR78mrZ/VG0kxg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZgaV4HXvxve3UF+GtV98mQHdGZ7EEMp5Hop9ByvaIEhtxSJ8SnBLVHkq6mJMiQzwi 5Gkmb+vqYgr/cseLJV1slxzTlzm5dttUCI4TXKx7JKKJZLZAr+nbHbE7cS6zEiQoqP BCMRJG8iFLvJ5TWB7kQlie2F/ZcKUipD7oGD5Co/OAfku8uRp64mfkRNuLXPEAgTAt 0jmcSAmVgmuK0QUNBCEqJUSEU0nHBfwMBrvpgNsaLUt/Qu5CtopbpgSH2rixOSFcMN +pPu+7SKi8elreNggLXmf8bMoJtws67owjDGvNBxKcyrG4IGbquLiiGV8o5ALZ+tZg nIDuowKaSG49w== Date: Sat, 13 Apr 2024 04:31:26 -0400 From: William Breathitt Gray To: Andy Shevchenko Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Linus Walleij , Bartosz Golaszewski Subject: Re: [PATCH v1 1/1] gpio: sch: Switch to memory mapped IO accessors Message-ID: References: <20240410072102.1200869-1-andy.shevchenko@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d/IvkqaW6ax31Foy" Content-Disposition: inline In-Reply-To: <20240410072102.1200869-1-andy.shevchenko@gmail.com> --d/IvkqaW6ax31Foy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 10:21:02AM +0300, Andy Shevchenko wrote: > Convert driver to use memory mapped IO accessors. >=20 > Signed-off-by: Andy Shevchenko Acked-by: William Breathitt Gray A minor suggestion below, but I find this patch accepted as-is. > static int sch_gpio_probe(struct platform_device *pdev) > { > + struct device *dev =3D &pdev->dev; In general I think this is a good variable to define to simplify all the &pdev->dev appearing throughout this callback, but I'd rather have seen it as its own patch so we could change all the other uses of &pdev->dev at once without distracting from the memory-mapped I/O change of this particular patch. Not really necessary, but maybe at some point in the future a follow-up patch doing such a cleanup would be nice. William Breathitt Gray --d/IvkqaW6ax31Foy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZhpC3gAKCRC1SFbKvhIj Ky0kAQDUwdQ4ta2t1mSTRTCD2R1i1TroJSyem81dRGJsBgFClQEAivISTvpcs3gq w5sOoWbOz8Ij4TChn9SnPje/ioR81w4= =MCt1 -----END PGP SIGNATURE----- --d/IvkqaW6ax31Foy--