dm: serial: fix comment on dm_serial_ops setconfig
PATCH 1/1 dm: serial: fix comment on dm_serial_ops setconfig
The comment on this function prototype describes nonexistent parameters. It seems to be copied from 'setparity'.
Update it to match its the parameter list.
Signed-off-by Simon Goldschmidt <[email protected]>
---
include/serial.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
include/serial.h +1 -3
@@ -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);
Signature · 1 line
2.17.1
PATCH 1/1 dm: serial: fix comment on dm_serial_ops setconfig
Quoted 10 lines · Simon Goldschmidt
The comment on this function prototype describes nonexistent parameters. It seems to be copied from 'setparity'.
Update it to match its the parameter list.
Signed-off-by Simon Goldschmidt <[email protected]>---
include/serial.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by Simon Glass <[email protected]>
Quoted 7 lines · Simon Goldschmidt
The comment on this function prototype describes nonexistent parameters. It seems to be copied from 'setparity'.
Update it to match its the parameter list.
Signed-off-by Simon Goldschmidt <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181117/d3a3dac8/attachment.sig>