Re: [PATCH v1 1/1] cp210x: convert open coded pieces to DIV_ROUND_UP

2016-01-31 Thread Johan Hovold
On Tue, Jan 19, 2016 at 01:31:18PM +0200, Andy Shevchenko wrote: > There are places where DIV_ROUND_UP() functionaly is open coded. Replace it by > macro call. > > Signed-off-by: Andy Shevchenko Thanks for the patch. Konstantin has been working on a series that cleans up the accessor functions

Re: [PATCH v1 1/1] cp210x: convert open coded pieces to DIV_ROUND_UP

2016-01-20 Thread Martyn Welch
On 19/01/16 11:31, Andy Shevchenko wrote: There are places where DIV_ROUND_UP() functionaly is open coded. Replace it by macro call. Signed-off-by: Andy Shevchenko Much nicer! Acked-by: Martyn Welch --- drivers/usb/serial/cp210x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion