]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IPMI: Fix device model name
authorCorey Minyard <minyard@acm.org>
Thu, 7 Dec 2006 04:40:54 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:47 +0000 (08:39 -0800)
commit6b8c9c886bde14d6da6895cc5513f9a9ea8d159b
tree7d3c03c71e88571854e526d1e775f0196f2e6e56
parent5d60ff4cae868dd58875eeae16a7f3b14b25f908
[PATCH] IPMI: Fix device model name

Add the product id to the driver model platform device name, in addition to
the device id.  The IPMI spec does not require that individual BMCs in a
system have unique devices IDs, but it does require that the product id/device
id combination be unique.

This also removes a redundant check and cleans up error handling
when the sysfs registration fails.

Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Carol Hebert <cah@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c