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>
lime2-spi
Patrice Chotard 6 years ago committed by Tom Rini
parent fbd5c72d76
commit ad060c052b
  1. 10
      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

Loading…
Cancel
Save