Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3369930pxb; Fri, 4 Feb 2022 07:12:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGoEv+fBpLKp5T1tf5X1DYnJf6sn+kfypjhC98RNwFe9AxYm2xyz2iCUPbuQKV3Y/0Gc4o X-Received: by 2002:a17:907:3d8e:: with SMTP id he14mr2922132ejc.226.1643987564294; Fri, 04 Feb 2022 07:12:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643987564; cv=none; d=google.com; s=arc-20160816; b=Fn82gtBmsvtz/AxU3X6/Z5cMLVJAAxKrqc4DFEZAx3d1bYF/gpAYZFtJE8Klk6yUEv lGquO2yvqMkaP/ShOSAwEqcTgkl/Z2ACpbXD9cEQayprUo1Dh4A4HBaT8pBf7aYbJefq kpZBdN41eUibo/g9lAp3EfS3t/2jCILZSMbmZ3elME2o+yXhlREFF5zqjUYjNS96Ug2l ilblnbJVYs31kSvYE5gNT839Ot4eAx/XV/mrdm6X8DEs7UaEGKt89mHWbg4mZWnIk50k ETQG2i2OFVEJJV6+gvOZaCzBExbcJ8PVHjtCdv6jjdjC9kpS7nIZGf4gMTn6lI8Kwt1m qxfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=IsVlcPPz4fb5Gf2ImKOnD8UP/Sqe6RXNED24nJE5qKY=; b=JvWVG6Jpg01JO+BYgCrdB6aeslsGmCehHHDJNSID630qa00y7mJGHetJkU1hXf20N+ FjxKBxL56XdqGam2G0jXNTi9FddpbxP4zUwMkhixear6r7FKVG6aVbkjAqBwRwfGGe2N 7POA6ssr/+9WS9HFerr8zjvoHrGFug87XjvtGVLmmn3pDBWwdxiacSC5FKut4TLa2gpY Y8akScO8bCc7wfqiqAhacAchTduOlYdifuFos10r+1c9wCVGqcVVt4JLk+kSAuKu218x M/b+uOBkm3iiFzZWqAGoMQx3rGfYC3aXuiumk84j+40UzbdiDwnaSVuMZiGbYS1va98I LIlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TdvsgBaz; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fwkYbBPi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r4si1268620edy.369.2022.02.04.07.12.17; Fri, 04 Feb 2022 07:12:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TdvsgBaz; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fwkYbBPi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351061AbiBCOOf (ORCPT + 99 others); Thu, 3 Feb 2022 09:14:35 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:53144 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbiBCOOb (ORCPT ); Thu, 3 Feb 2022 09:14:31 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 305722114D; Thu, 3 Feb 2022 14:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643897670; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IsVlcPPz4fb5Gf2ImKOnD8UP/Sqe6RXNED24nJE5qKY=; b=TdvsgBazf40G3Zr1OXu884xSANl5KtoMWSjvIFL1QtFI6DEIRomHKAvbkSPCY8f8jade6c gtkp/jGWUimi84/2NsyRq93Cl/PIU8PIsmijCSLm7nidDZnlde4c1dxU8QCxiYoe8nnKci icwsJBsgbD4JpDws/ubGrlApiz7G2E4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643897670; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IsVlcPPz4fb5Gf2ImKOnD8UP/Sqe6RXNED24nJE5qKY=; b=fwkYbBPid4pC93NTSV6xWGdFvVUHzDurGFrnYL0GBEcvMzOIvcZoOcxSMwN3nzXk8fLfKb /6KZpAwTIvHjfnAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 706F313C0F; Thu, 3 Feb 2022 14:14:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4mTgGUXj+2HsVQAAMHmgww (envelope-from ); Thu, 03 Feb 2022 14:14:29 +0000 Date: Thu, 3 Feb 2022 15:14:24 +0100 From: Jean Delvare To: Andy Shevchenko Cc: Wolfram Sang , Heiner Kallweit , Lee Jones , Hans de Goede , Linus Walleij , Tan Jui Nee , Kate Hsuan , Jonathan Yong , linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , Peter Tyser , Mika Westerberg , Andy Shevchenko , Mark Gross , Henning Schild Subject: Re: [PATCH v4 6/8] i2c: i801: convert to use common P2SB accessor Message-ID: <20220203151424.2a35c864@endymion> In-Reply-To: <20220131151346.45792-7-andriy.shevchenko@linux.intel.com> References: <20220131151346.45792-1-andriy.shevchenko@linux.intel.com> <20220131151346.45792-7-andriy.shevchenko@linux.intel.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Mon, 31 Jan 2022 17:13:44 +0200, Andy Shevchenko wrote: > Since we have a common P2SB accessor in tree we may use it instead of > open coded variants. > > Replace custom code by p2sb_bar() call. > > Signed-off-by: Andy Shevchenko > Acked-by: Hans de Goede > Acked-by: Linus Walleij > --- > drivers/i2c/busses/Kconfig | 1 + > drivers/i2c/busses/i2c-i801.c | 39 +++++++------------------------ > drivers/platform/x86/intel/p2sb.c | 6 +++++ > 3 files changed, 16 insertions(+), 30 deletions(-) > (...) Reviewed-by: Jean Delvare And thank you for taking the time to write this neat P2SB API and to convert all the code that was doing the same so far. -- Jean Delvare SUSE L3 Support