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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12D99C04E69 for ; Fri, 4 Aug 2023 14:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbjHDOyb (ORCPT ); Fri, 4 Aug 2023 10:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjHDOya (ORCPT ); Fri, 4 Aug 2023 10:54:30 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3301A49C7; Fri, 4 Aug 2023 07:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691160870; x=1722696870; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UzGLY9JMIEOBL2yVEInId89gyN8ey9Bf0eHmfRRevKg=; b=Q1toiQkrZAC9Wv4BMnh9xcUc10/1OO1tUzDzJOQm2hicRRJL+43VLKqI gAOc72DJ6zrTer8EMejQVfJx0JSIiLnxIaHw1SEK5O7HE1msEGTQMdRB3 Xx+lO3ZWNrjL0aXgl8OoOIsVd+S4I3tNvR1ljfROInin35WAZL6p5X5zA kpMJzMdPkxRusFBmxmhFoNsA6SSIirQr1xYorwM+/dcZYey7/95ECc0OM wJjz994mELyxhCNFBhRYZJe//OE0gAs6OZ30+ewzlQEKDPxqtk5wGsWbp Hy8wDkj24ZNaO29ZSwncoqncbO8UwfQNsoSAxTruhpiqqO7VtJBTIen4V A==; X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="367631039" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="367631039" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2023 07:54:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="820152186" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="820152186" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP; 04 Aug 2023 07:54:26 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qRwC9-00D6dq-07; Fri, 04 Aug 2023 17:54:25 +0300 Date: Fri, 4 Aug 2023 17:54:24 +0300 From: Andy Shevchenko To: Biju Das Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Geert Uytterhoeven , Dmitry Torokhov , Andi Shyti , Alexandre Belloni , Jonathan Cameron , linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v6 4/4] i2c: Add i2c_device_get_match_data() callback Message-ID: References: <20230804070915.117829-1-biju.das.jz@bp.renesas.com> <20230804070915.117829-5-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230804070915.117829-5-biju.das.jz@bp.renesas.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org On Fri, Aug 04, 2023 at 08:09:15AM +0100, Biju Das wrote: > Add i2c_device_get_match_data() callback to struct bus_type(). > > While at it, introduced i2c_get_match_data_helper() to avoid code > duplication with i2c_get_match_data(). LGTM, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko