Re: [PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-02 Thread Joachim Eastwood
On 2 May 2014 17:39, Tony Lindgren wrote: > * Axel Lin [140427 03:58]: >> This also makes the intention more clear. While you are at it you may want to use some nice defines from time.h >> Signed-off-by: Axel Lin > > Added Jarkko Nikula to cc. > > Tony > >> --- >> drivers/mmc/host/omap.c | 10

Re: [PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-05-02 Thread Tony Lindgren
* Axel Lin [140427 03:58]: > This also makes the intention more clear. > > Signed-off-by: Axel Lin Added Jarkko Nikula to cc. Tony > --- > drivers/mmc/host/omap.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/o

[PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2014-04-27 Thread Axel Lin
This also makes the intention more clear. Signed-off-by: Axel Lin --- drivers/mmc/host/omap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 5c2e58b..711981e 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers

[PATCH] mmc: omap: Use DIV_ROUND_UP instead of open coded

2013-09-01 Thread Axel Lin
This patch makes the intention of the code more clear. Signed-off-by: Axel Lin --- drivers/mmc/host/omap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index b94f38e..3187af0 100644 --- a/drivers/mmc/host/omap.c