An error occurred fetching the project authors.
  1. 28 Jan, 2014 1 commit
  2. 17 Nov, 2013 2 commits
    • Jean Delvare's avatar
      watchdog: Get rid of MODULE_ALIAS_MISCDEV statements · 487722cf
      Jean Delvare authored
      I just can't find any value in MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR)
      and MODULE_ALIAS_MISCDEV(TEMP_MINOR) statements.
      
      Either the device is enumerated and the driver already has a module
      alias (e.g. PCI, USB etc.) that will get the right driver loaded
      automatically.
      
      Or the device is not enumerated and loading its driver will lead to
      more or less intrusive hardware poking. Such hardware poking should be
      limited to a bare minimum, so the user should really decide which
      drivers should be tried and in what order. Trying them all in
      arbitrary order can't do any good.
      
      On top of that, loading that many drivers at once bloats the kernel
      log. Also many drivers will stay loaded afterward, bloating the output
      of "lsmod" and wasting memory. Some modules (cs5535_mfgpt which gets
      loaded as a dependency) can't even be unloaded!
      
      If defining char-major-10-130 is needed then it should happen in
      user-space.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Mike Frysinger <vapier.adi@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      487722cf
    • Niels de Vos's avatar
      watchdog: imx2_wdt: expose module alias for loading from device-tree · 813296a1
      Niels de Vos authored
      Enable auto loading by udev when imx2_wdt is compiled as a module.
      Signed-off-by: default avatarNiels de Vos <ndevos@redhat.com>
      Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      813296a1
  3. 11 Jul, 2013 1 commit
  4. 18 May, 2013 1 commit
  5. 25 Jan, 2013 1 commit
  6. 18 Jan, 2013 1 commit
  7. 15 Oct, 2012 1 commit
  8. 25 Apr, 2012 1 commit
  9. 27 Mar, 2012 2 commits
  10. 27 Jan, 2012 1 commit
    • Julia Lawall's avatar
      watchdog: imx2_wdt.c: use devm_request_and_ioremap · 5d32d486
      Julia Lawall authored
      Reimplement a call to devm_request_mem_region followed by a call to ioremap
      or ioremap_nocache by a call to devm_request_and_ioremap.
      
      The variable res_size is then no longer needed.
      
      The semantic patch that makes this transformation is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @nm@
      expression myname;
      identifier i;
      @@
      
      struct platform_driver i = { .driver = { .name = myname } };
      
      @@
      expression dev,res,size;
      expression nm.myname;
      @@
      
      -if (!devm_request_mem_region(dev, res->start, size,
      -                              \(res->name\|dev_name(dev)\|myname\))) {
      -   ...
      -   return ...;
      -}
      ... when != res->start
      (
      -devm_ioremap(dev,res->start,size)
      +devm_request_and_ioremap(dev,res)
      |
      -devm_ioremap_nocache(dev,res->start,size)
      +devm_request_and_ioremap(dev,res)
      )
      ... when any
          when != res->start
      // </smpl>
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      5d32d486
  11. 26 Jul, 2011 1 commit
  12. 14 Dec, 2010 1 commit
  13. 13 Jun, 2010 1 commit
  14. 25 May, 2010 1 commit