commit | d6587feaf0ed7511b3d0b52bcaae8ecd0949d3af | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Oct 30 17:54:33 2009 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Nov 30 09:47:24 2009 +0000 |
tree | cfd13ef9280472485342cc1384989fbc87d5fda9 | |
parent | 2af7c653993199fb32dc6d9504064a0c9c57e5d6 [diff] |
mtd: ixp4xx map: use resource_size Use the resource_size inline 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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>