memory commands: cleanup initialization
- return -ENOMEM instead of -1
- return the result of platform_driver_register

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4e3ce28 commit c065be27a10746a338c54bf396ba5de2def56c31
@Sascha Hauer Sascha Hauer authored on 17 Apr 2013
Showing 1 changed file
View
commands/mem.c