Re: [PATCH v2 06/28] drivers: Add generic helper to match by of_node

From: Wolfram Sang
Date: Fri Jun 14 2019 - 16:36:38 EST


> +
> +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?

Attachment: signature.asc
Description: PGP signature