summaryrefslogtreecommitdiff
path: root/drivers/char/pc8736x_gpio.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-22 05:11:45 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-23 04:33:11 +0300
commit38013262c2c815fa404fa9f42dbc958c616fb385 (patch)
tree863e30091427a63b22397ad46c2b00a755546b30 /drivers/char/pc8736x_gpio.c
parent3e4aa12f8a81506c44f04b4f0eb7663981c5a282 (diff)
downloadlinux-38013262c2c815fa404fa9f42dbc958c616fb385.tar.xz
korina: use resource_size()
This size calculation is wrong. It should be end - start + 1. Use resource_size() to calculate it correctly. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/pc8736x_gpio.c')
0 files changed, 0 insertions, 0 deletions