[PATCH 2/2] serial_ns16550: use 'struct device_d *' instead of 'struct console_device *'

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 3 20:37:02 EDT 2011


On 22:37 Wed 03 Aug     , Antony Pavlov wrote:
> ns16550_read() and ns16550_write() functions are private functions
> of the driver so there is no need to pass them 'struct console_device *'
> pointer to get private device data.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
Does not simplify the code

does not see the need

Best Regards,
J.



More information about the barebox mailing list