ARM: OMAP3: mmc-twl4030 fix name buffer length, v2
commit8466032d862a2e52d73af3311bc97f950aaa36c8
authorAdrian Hunter <adrian.hunter@nokia.com>
Tue, 24 Mar 2009 01:23:46 +0000 (23 18:23 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:51:22 +0000 (23 18:51 -0700)
treecba5a396e739d33b55ea58f922123c7e3cbfef86
parentb9d766c767d53a9be1f741a53fe8151354ba1da3
ARM: OMAP3: mmc-twl4030 fix name buffer length, v2

Add 1 to buffer length for null terminator and use snprintf.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmc-twl4030.c