1. 17 6月, 2009 1 次提交
    • L
      i2c: Use resource_size macro · c6ffddea
      Linus Walleij 提交于
      This replace all instances in the i2c busses tree of
      res->end - res->start + 1 with the handy macro resource_size(res)
      from ioport.h (coming in from platform_device.h).
      
      This was created with a simple
      sed -i -e 's/\([a-z]*\)->end *- *[a-z]*->start *+ *1/resource_size(\1)/g'
      
      Then manually replacing the PXA redefiniton of the same kind
      of macro manually. Recompiled some ARM defconfigs I could find to
      make a rough test so it shouldn't break anything, though I
      couldn't see exactly which configs you need for all the drivers.
      Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      c6ffddea
  2. 19 2月, 2009 1 次提交
  3. 23 4月, 2008 1 次提交
  4. 11 12月, 2006 1 次提交