serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Thu, 16 Mar 2023 17:22:11 +0000 (22:52 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:51:11 +0000 (21:51 -0700)
commit29f93a687f3c435e94d026ee1fc8ad18ce56b7fb
treefae75eb95fa790b9feb4fbc520d3b9f6e18d5135
parent586e154f98ac826233c2be5dc80e101303b4b2bd
serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP

This replaces all instances of ENOTSUPP with EOPNOTSUPP since ENOTSUPP
is not a standard error code. This will help maintain consistency in
error codes when new serdev API's are added.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/tty/serdev/core.c
drivers/tty/serdev/serdev-ttyport.c
include/linux/serdev.h