[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190614203144.GB7991@kunai>
Date: Fri, 14 Jun 2019 22:31:44 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Suzuki K Poulose <suzuki.poulose@....com>
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
rafael@...nel.org, Alan Tull <atull@...nel.org>,
Andrew Lunn <andrew@...n.ch>, Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
"David S. Miller" <davem@...emloft.net>,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
Florian Fainelli <f.fainelli@...il.com>,
Frank Rowand <frowand.list@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Jiri Slaby <jslaby@...e.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Lee Jones <lee.jones@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
linux-fpga@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-spi@...r.kernel.org,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Mark Brown <broonie@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Maxime Ripard <maxime.ripard@...tlin.com>,
Moritz Fischer <mdf@...nel.org>, Peter Rosin <peda@...ntia.se>,
Rob Herring <robh+dt@...nel.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Thierry Reding <thierry.reding@...il.com>,
Thor Thayer <thor.thayer@...ux.intel.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Joe Perches <joe@...ches.com>
Subject: Re: [PATCH v2 06/28] drivers: Add generic helper to match by of_node
> +
> +int device_match_of_node(struct device *dev, const void *np)
> +{
> + return dev->of_node == np;
> +}
> +EXPORT_SYMBOL_GPL(device_match_of_node);
Is it an option to 'static inline' this simple function in the header,
saving the EXPORT?
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists