param: let dev_add_param return the newly created param
dev_add_param creates a new parameter so it makes more sense to
return it than to return an error code. Since the return value
is hardly ever checked this is only a small patch.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d096caf commit ade058360233b8a701c66db282a21502e3a27f79
@Sascha Hauer Sascha Hauer authored on 24 Jul 2014
Showing 3 changed files
View
common/globalvar.c
View
include/param.h
View
lib/parameter.c