]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] IPMI: misc fixes
authorCorey Minyard <minyard@acm.org>
Sun, 10 Dec 2006 10:19:08 +0000 (02:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sun, 10 Dec 2006 17:55:40 +0000 (09:55 -0800)
commit1d5636cc078d3750b7f590a20f748aeaa26e2daf
tree139a8d4ba0e9b93e1cd67ca31c4677447efe6ef1
parent0c8204b380f92a6a8533d228c50f0b681daf6121
[PATCH] IPMI: misc fixes

Fix various problems pointed out by Andrew Morton and others:
  * platform_device_unregister checks for NULL, no need to check here.
  * Formatting fixes.
  * Remove big macro and convert to a function.
  * Use strcmp instead of defining a broken case-insensitive comparison,
    and make the output parameter info match the case of the input one
    (change "I/O" to "i/o").
  * Return the length instead of 0 from the hotmod parameter handler.
  * Remove some unused cruft.
  * The trydefaults parameter only has to do with scanning the "standard"
    addresses, don't check for that on ACPI.

Signed-off-by: Corey Minyard <cminyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c