From: Patrice Chotard Date: Fri, 3 Aug 2018 13:07:40 +0000 (+0200) Subject: dm: serial: Remove setparity ops X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=ad060c052bf8593c3d21bdab1f72f5f181064972;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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