diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-08-07 20:14:28 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-08-11 22:14:00 +0800 |
commit | 8314aa8af4f9905dded47e53b3e283e632736d41 (patch) | |
tree | 7412ad1bcae9bf7796257128cd9fd757c55652c8 | |
parent | 150019dea22afa2ea9ebe28078fe36271defa9c4 (diff) | |
download | linux-stable-8314aa8af4f9905dded47e53b3e283e632736d41.tar.gz linux-stable-8314aa8af4f9905dded47e53b3e283e632736d41.tar.bz2 linux-stable-8314aa8af4f9905dded47e53b3e283e632736d41.zip |
firmware: imx: scu: use EOPNOTSUPP
Per checkpatch.pl, "ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP"
So use EOPNOTSUPP to replace ENOTSUPP.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | include/linux/firmware/imx/sci.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/firmware/imx/sci.h b/include/linux/firmware/imx/sci.h index 5cc63fe7e84d..7fa0f3b329b5 100644 --- a/include/linux/firmware/imx/sci.h +++ b/include/linux/firmware/imx/sci.h @@ -25,27 +25,27 @@ int imx_scu_soc_init(struct device *dev); #else static inline int imx_scu_soc_init(struct device *dev) { - return -ENOTSUPP; + return -EOPNOTSUPP; } static inline int imx_scu_enable_general_irq_channel(struct device *dev) { - return -ENOTSUPP; + return -EOPNOTSUPP; } static inline int imx_scu_irq_register_notifier(struct notifier_block *nb) { - return -ENOTSUPP; + return -EOPNOTSUPP; } static inline int imx_scu_irq_unregister_notifier(struct notifier_block *nb) { - return -ENOTSUPP; + return -EOPNOTSUPP; } static inline int imx_scu_irq_group_enable(u8 group, u32 mask, u8 enable) { - return -ENOTSUPP; + return -EOPNOTSUPP; } #endif #endif /* _SC_SCI_H */ |