param: Add integer and boolean parameter helpers
This adds convenience functions for directly registering integers
and bools as device parameter. This way driver no longer have to
fiddle with string handling. The format used to print the parameter
is passed to the functions to be able to print parameters in a
flexible way.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c4b7f8a commit 2df33a69bdb7268f0192ad35142948dd633b3f0a
@Sascha Hauer Sascha Hauer authored on 6 Apr 2013
Showing 2 changed files
View
include/param.h
View
lib/parameter.c