From ad060c052bf8593c3d21bdab1f72f5f181064972 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 3 Aug 2018 15:07:40 +0200 Subject: [PATCH] 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 --- include/serial.h | 10 ---------- 1 file changed, 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 -- 2.30.2