mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
fbd5c72d76
commit
ad060c052b
@@ -182,16 +182,6 @@ struct dm_serial_ops {
|
|||||||
*/
|
*/
|
||||||
int (*loop)(struct udevice *dev, int on);
|
int (*loop)(struct udevice *dev, int on);
|
||||||
#endif
|
#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
|
* setconfig() - Set up the uart configuration
|
||||||
|
Reference in New Issue
Block a user