Messages in this thread | | | Date | Fri, 14 Jun 2019 22:31:44 +0200 | From | Wolfram Sang <> | 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?
[unhandled content-type:application/pgp-signature] | |