linux-stable/samples/kobject
Rastislav Barlik 5fd637e7a7 samples/kobject: Use kstrtoint instead of sscanf
Use kstrtoint function instead of sscanf and check for return values.

Signed-off-by: Rastislav Barlik <barlik@zoho.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-25 13:40:31 +01:00
..
kobject-example.c samples/kobject: Use kstrtoint instead of sscanf 2015-03-25 13:40:31 +01:00
kset-example.c samples/kobject: Use kstrtoint instead of sscanf 2015-03-25 13:40:31 +01:00
Makefile kobject: add sample code for how to use ksets/ktypes/kobjects 2008-01-24 20:40:41 -08:00