]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: sm750fb: replace roundedDiv with DIV_ROUND_CLOSEST
authorMoshe Green <mgmoshes@gmail.com>
Sun, 2 Oct 2016 11:04:46 +0000 (14:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 14:52:46 +0000 (16:52 +0200)
commit42f8f2184bdc980a03cbc61abf53f9a97597d1e9
tree04349d8df91e4f42e0a5121bc4f8c10cd5c68f38
parent35e4d8ca05e87d38fb160cb35ba7c3282192a77b
staging: sm750fb: replace roundedDiv with DIV_ROUND_CLOSEST

Replace local implementation of rounded division (roundedDiv macro) with
the in-kernel implementation (DIV_ROUND_CLOSEST macro) in ddk750_chip.c

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c