[U-Boot] [PATCH v3 3/4] dm: serial: Remove setparity ops

Patrice Chotard patrice.chotard at st.com
Fri Aug 3 13:07:40 UTC 2018


setparity users has been updated to use new setconfig ops,
so we can safely remove setparity ops

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---

Changes in v3:
  - Add patch to remove obsolete setparity ops

Changes in v2: None

 include/serial.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/serial.h b/include/serial.h
index ed9c70af74ed..9ae4b3879085 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
-- 
1.9.1



More information about the U-Boot mailing list