Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 71041f73 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: magn: hmc5843: Move struct dev_pm_ops out of header


Having this structure defined static in the header lead to
unnecessary duplication and required additional symbol exports.
Use the EXPORT_NS_SIMPLE_DEV_PM_OPS() to clean this up in the same
fashion as many other drivers do this.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220807184534.1037363-3-jic23@kernel.org
parent c3b4afb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment