summaryrefslogtreecommitdiffstats
path: root/drivers/leds/ledtrig-gpio.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-06 11:58:55 +0200
committerDan Williams <dan.j.williams@intel.com>2010-05-17 20:13:51 +0200
commit8381fc35244dbdf58cfc49e04e0d7c3498c8aa03 (patch)
treedc6e2deb84db53242c4904b295ded5ef1294ad3d /drivers/leds/ledtrig-gpio.c
parentDMA ENGINE: Do not reset 'private' of channel (diff)
downloadlinux-8381fc35244dbdf58cfc49e04e0d7c3498c8aa03.tar.xz
linux-8381fc35244dbdf58cfc49e04e0d7c3498c8aa03.zip
dmaengine: mpc512x: Use resource_size
Use the resource_size function instead of manually calculating the resource size. This reduces the chance of introducing off-by-one errors. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/leds/ledtrig-gpio.c')
0 files changed, 0 insertions, 0 deletions