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 A732CC04A94 for ; Tue, 1 Aug 2023 19:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232257AbjHAT3i (ORCPT ); Tue, 1 Aug 2023 15:29:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjHAT3g (ORCPT ); Tue, 1 Aug 2023 15:29:36 -0400 Received: from mgamail.intel.com (unknown [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9A85199F; Tue, 1 Aug 2023 12:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690918176; x=1722454176; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nTLt/HhmxrDmDa3nOde9MUzoI/KRxer2J9vnTgnAEZQ=; b=XrWGq1ajSRnMN4I0HH+l14rXXptteaHrgdoilwmkhD/frqAbVIuG7XuH 0ppMcKeC4Th0rHN23oWbfyYCqzp0cOdyWneaPAhGM4Jnh3vm1N24HPjn9 3KI3Egajv9tno8TiZ2p3+6aBBPx+MqVuqkSxWwCyIWLhLO4f97gD8oZWU cXRrr6ojY/clvKkhlpIqHKRZcbDeUrxhpUmioqVxARRzqBbsSXq3d8dEu oeLKxKXosw+Uq97d3rdnkXTMYf8l6jk7LzegRCApWUmtrM0Q+wIh73bp4 EMU7xj/REODmAtYYb1XPIBaev79k614iFTUN1bXSqLkdhwjvO/7wGrJTU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="366861626" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="366861626" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 12:29:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="1059534887" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="1059534887" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP; 01 Aug 2023 12:29:30 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qQv3g-00GdCW-25; Tue, 01 Aug 2023 22:29:28 +0300 Date: Tue, 1 Aug 2023 22:29:28 +0300 From: Andy Shevchenko To: Biju Das Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Geert Uytterhoeven , Dmitry Torokhov , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v3 2/2] i2c: Add i2c_device_get_match_data() callback Message-ID: References: <20230801170318.82682-1-biju.das.jz@bp.renesas.com> <20230801170318.82682-3-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801170318.82682-3-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 Tue, Aug 01, 2023 at 06:03:18PM +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(). ... > * Changed i2c_of_match_device_sysfs() as non-static function as it is > needed for i2c_device_get_match_data(). Btw, this can be split to a separate change. -- With Best Regards, Andy Shevchenko