diff options
author | axel lin <axel.lin@gmail.com> | 2011-01-29 04:35:45 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 03:07:35 -0400 |
commit | e0998eab678233fae7dff7b92db08ad0f01acf91 (patch) | |
tree | 7d2fdc018b8d7ca3f073657bbbfffab9b4711328 /drivers/leds/leds-lp5521.c | |
parent | 56fb22f7ca11ba5f04c297b7f7aa758ac8dbb2ce (diff) |
video: sh7760fb: use resource_size()
The size calculation is done incorrectly in request_mem_region because
it should include both the start and end (end - start + 1).
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/leds/leds-lp5521.c')
0 files changed, 0 insertions, 0 deletions