dm: serial: Remove setparity ops
[oweals/u-boot.git] / include / serial.h
index 8b00f38280ff98d8cdfe664c9028f238211f5876..ffda48a1410aab62e034faf544b037e296176235 100644 (file)
@@ -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