]> err.no Git - linux-2.6/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)
commitf0b55da0d2701230e973866c9dfbf932d8b884cb
tree7d3c03c71e88571854e526d1e775f0196f2e6e56
parent6b39bb6548d60b9a18826134b5ccd5c3cef85fe2
[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