1. 31 3月, 2014 1 次提交
  2. 18 11月, 2013 1 次提交
    • J
      watchdog: Get rid of MODULE_ALIAS_MISCDEV statements · 487722cf
      Jean Delvare 提交于
      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: NJean Delvare <jdelvare@suse.de>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim 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
  3. 20 12月, 2012 1 次提交
  4. 29 11月, 2012 2 次提交
  5. 28 3月, 2012 1 次提交
  6. 06 1月, 2012 1 次提交
    • A
      watchdog: Use DEFINE_SPINLOCK() for static spinlocks · 1334f329
      Axel Lin 提交于
      Rather than just defining static spinlock_t variables and then
      initializing them later in init functions, simply define them with
      DEFINE_SPINLOCK() and remove the calls to spin_lock_init().
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: Nicolas Thill <nico@openwrt.org>
      Cc: Heiko Ronsdorf <hero@ihg.uni-duisburg.de>
      Cc: Rodolfo Giometti <giometti@ascensit.com>
      Cc: Andrey Panin <pazke@donpac.ru>
      Cc: Guido Guenther <agx@sigxcpu.org>
      Cc: Curt E Bruns <curt.e.bruns@intel.com>
      Cc: Deepak Saxena <dsaxena@plexity.net>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: George G. Davis <gdavis@mvista.com>
      Cc: Sylver Bruneau <sylver.bruneau@googlemail.com>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      1334f329
  7. 07 3月, 2010 1 次提交
  8. 06 8月, 2008 1 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      Wim Van Sebroeck 提交于
      This brings the watchdog drivers into line with coding style.
      This patch takes cares of the indentation as described in chapter 1.
      Main changes:
      * Re-structure the ioctl switch call for all drivers as follows:
      	switch (cmd) {
      	case WDIOC_GETSUPPORT:
      	case WDIOC_GETSTATUS:
      	case WDIOC_GETBOOTSTATUS:
      	case WDIOC_GETTEMP:
      	case WDIOC_SETOPTIONS:
      	case WDIOC_KEEPALIVE:
      	case WDIOC_SETTIMEOUT:
      	case WDIOC_GETTIMEOUT:
      	case WDIOC_GETTIMELEFT:
      	default:
      	}
      
      This to make the migration from the drivers to the uniform watchdog
      device driver easier in the future.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
  9. 27 5月, 2008 1 次提交
  10. 06 3月, 2008 1 次提交
  11. 18 10月, 2007 1 次提交
  12. 25 7月, 2007 1 次提交
  13. 24 7月, 2007 1 次提交
  14. 27 3月, 2007 1 次提交
  15. 13 2月, 2007 1 次提交
    • J
      [WATCHDOG] timers cleanup · 82eb7c50
      Jiri Slaby 提交于
      - Use timer macros to set function and data members and to modify
        expiration time.
      - Use DEFINE_TIMER for single (platform dependent) watchdog timers and
        do not init them at run-time in these cases.
      - del_timer_sync is common in most cases -- we want to wait for timer
        function if it's still running.
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: Steve Hill <steve@navaho.co.uk>
      Cc: Heiko Ronsdorf <hero@ihg.uni-duisburg.de>
      Cc: Fernando Fuganti <fuganti@conectiva.com.br>
      Cc: Gergely Madarasz <gorgo@itc.hu>
      Cc: Ken Hollis <khollis@bitgate.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      82eb7c50
  16. 03 10月, 2006 1 次提交
  17. 04 7月, 2006 1 次提交
  18. 10 1月, 2006 1 次提交
  19. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4