From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 21 Mar 2021 16:18:18 +1300 Subject: [PATCH 0/6] Use -ENOSYS consistently Message-ID: <20210321031824.2170848-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de A few places use -ENOTSUPP when they should use -ENOSYS. In two cases both are used. This little series tidies this up. Simon Glass (6): usb: Return -ENOSYS when system call is not available spi: Return -ENOSYS when system call is not available tlv_eeprom: Return -ENOSYS when system call is not available clk: Return -ENOSYS when system call is not available simple-pm-bus: Use -ENOSYS for checking missing system call pinctrl: Return -ENOSYS when system call is not available drivers/clk/clk-composite.c | 8 ++++---- drivers/core/simple-pm-bus.c | 4 ++-- drivers/pinctrl/pinctrl-uclass.c | 10 ++++++---- drivers/usb/gadget/udc/udc-uclass.c | 2 +- include/spi-mem.h | 2 +- include/tlv_eeprom.h | 6 +++--- 6 files changed, 17 insertions(+), 15 deletions(-) -- 2.31.0.rc2.261.g7f71774620-goog