dm: serial: fix comment on dm_serial_ops setconfig
[oweals/u-boot.git] / include / serial.h
index 020cd392e888e2c0bdc2e28b025257e489db774a..ec25db6e601aa3e44d71847294291eb76685998f 100644 (file)
@@ -195,9 +195,7 @@ struct dm_serial_ops {
         * Set up a new config for this device.
         *
         * @dev: Device pointer
-        * @parity: parity to use
-        * @bits: bits number to use
-        * @stop: stop bits number to use
+        * @serial_config: number of bits, parity and number of stopbits to use
         * @return 0 if OK, -ve on error
         */
        int (*setconfig)(struct udevice *dev, uint serial_config);