md: factor out parsing of fixed-point numbers
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:55 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:51:41 +0000 (12:51 +1100)
commit72e02075a33f739e21430262f71da8e82db9dbb3
tree04a87a16751b714fe0fb41f28ccc54af9f820de1
parentf6af949c5672115313cc3c976d85b0533f607d7e
md: factor out parsing of fixed-point numbers

safe_delay_store can parse fixed point numbers (for fractions
of a second).  We will want to do that for another sysfs
file soon, so factor out the code.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h