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>
diff --git a/include/serial.h b/include/serial.h
index 8b00f38..ffda48a 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -182,16 +182,6 @@
*/
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