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 93CCAC04FDF for ; Fri, 4 Aug 2023 14:11:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231593AbjHDOLF (ORCPT ); Fri, 4 Aug 2023 10:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbjHDOLE (ORCPT ); Fri, 4 Aug 2023 10:11:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49AF6CC; Fri, 4 Aug 2023 07:11:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D193962041; Fri, 4 Aug 2023 14:11:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4C08C433C7; Fri, 4 Aug 2023 14:11:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691158262; bh=yrEIt4NaDboTaHtQyue5mLxAAjP7Fhmtw7gV2iueu1g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L8LtwDhpICVSeLFKkfohddHjUExn4kxt2GbuwKiVqSQaqNodExtmAmFchYFQFrlFT FObb0m2v2n6QqdlkPVUa1StgSQiqUt+CYOhQ9zAmcUjG0SUlnfuay9loMYGC8Ik0Fu Rq0OF5EdZVjpe66hTqWyIlKzIDT8PqHpEc2aT3Ho= Date: Fri, 4 Aug 2023 16:10:48 +0200 From: Greg Kroah-Hartman To: Biju Das Cc: Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Alexandre Belloni , Jonathan Cameron , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Dmitry Torokhov , Andi Shyti , Wolfram Sang , Geert Uytterhoeven , linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v6 1/4] drivers: fwnode: Extend device_get_match_data() to struct bus_type Message-ID: <2023080441-gluten-pessimist-c892@gregkh> References: <20230804070915.117829-1-biju.das.jz@bp.renesas.com> <20230804070915.117829-2-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-2-biju.das.jz@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org On Fri, Aug 04, 2023 at 08:09:12AM +0100, Biju Das wrote: > Extend device_get_match_data() to buses (for eg: I2C) by adding a > callback device_get_match_data() to struct bus_type() and call this method > as a fallback for generic fwnode based device_get_match_data(). > > Suggested-by: Dmitry Torokhov > Signed-off-by: Biju Das > Reviewed-by: Andy Shevchenko > Reviewed-by: Sakari Ailus Acked-by: Greg Kroah-Hartman