diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2018-08-03 15:07:40 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-10 20:20:38 -0400 |
commit | ad060c052bf8593c3d21bdab1f72f5f181064972 (patch) | |
tree | 2488c78a8841ea006f7c56951925cff76b099d1c /include/serial.h | |
parent | fbd5c72d767d04adb780188cb47772ed386fb297 (diff) | |
download | u-boot-ad060c052bf8593c3d21bdab1f72f5f181064972.tar.gz u-boot-ad060c052bf8593c3d21bdab1f72f5f181064972.tar.bz2 u-boot-ad060c052bf8593c3d21bdab1f72f5f181064972.zip |
dm: serial: Remove setparity ops
setparity users has been updated to use new setconfig ops,
so we can safely remove setparity ops
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/serial.h')
-rw-r--r-- | include/serial.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/serial.h b/include/serial.h index 8b00f38280..ffda48a141 100644 --- a/include/serial.h +++ b/include/serial.h @@ -182,16 +182,6 @@ struct dm_serial_ops { */ int (*loop)(struct udevice *dev, int on); #endif - /** - * setparity() - Set up the parity - * - * Set up a new parity for this device. - * - * @dev: Device pointer - * @parity: parity to use - * @return 0 if OK, -ve on error - */ - int (*setparity)(struct udevice *dev, enum serial_par parity); /** * setconfig() - Set up the uart configuration |