Skip to content

Commit 8314aa8

Browse files
MrVanShawn Guo
authored andcommitted
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 <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 150019d commit 8314aa8

File tree

1 file changed

+5
-5
lines changed
  • include/linux/firmware/imx

1 file changed

+5
-5
lines changed

include/linux/firmware/imx/sci.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ int imx_scu_soc_init(struct device *dev);
2525
#else
2626
static inline int imx_scu_soc_init(struct device *dev)
2727
{
28-
return -ENOTSUPP;
28+
return -EOPNOTSUPP;
2929
}
3030

3131
static inline int imx_scu_enable_general_irq_channel(struct device *dev)
3232
{
33-
return -ENOTSUPP;
33+
return -EOPNOTSUPP;
3434
}
3535

3636
static inline int imx_scu_irq_register_notifier(struct notifier_block *nb)
3737
{
38-
return -ENOTSUPP;
38+
return -EOPNOTSUPP;
3939
}
4040

4141
static inline int imx_scu_irq_unregister_notifier(struct notifier_block *nb)
4242
{
43-
return -ENOTSUPP;
43+
return -EOPNOTSUPP;
4444
}
4545

4646
static inline int imx_scu_irq_group_enable(u8 group, u32 mask, u8 enable)
4747
{
48-
return -ENOTSUPP;
48+
return -EOPNOTSUPP;
4949
}
5050
#endif
5151
#endif /* _SC_SCI_H */

0 commit comments

Comments
 (0)