mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09: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:
parent
fbd5c72d76
commit
ad060c052b
|
@ -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…
Reference in New Issue
Block a user