driver core: Convert to kasprintf() for early dev_name().
authorPaul Mundt <lethal@linux-sh.org>
Mon, 29 Mar 2010 06:51:35 +0000 (15:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Mar 2010 06:51:35 +0000 (15:51 +0900)
commitbd05086bbe3f241cd552068f9ceba9e19c6ce427
tree5d8e28676693907f78b5666af7d6bb7e94c1f855
parentec0ffe2ee0e0fb9da4409d86bfd72636450f32df
driver core: Convert to kasprintf() for early dev_name().

This is just a simple refactoring patch on top of the early dev_name()
support, converting from kstrdup() to kasprintf() as suggested by Kay.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/base/platform.c