summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/progear_bl.c
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2007-05-10 23:04:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 16:29:45 -0700
commit87e71b473ee199cf4b7b7a0ce890cd01f45e3a0e (patch)
tree9701f316dc0a26fd5a6a342668090363e6e25bec /drivers/video/backlight/progear_bl.c
parent6dbd682b7c6d58916096616cdf94852641bc09d9 (diff)
USB: cxacru: Cleanup sysfs attribute code
This changes the format of unknown status values to be less verbose and uses an array instead of several different snprintf calls. Since only enum values are assigned to it, poll_state is changed from int to enum. Use abs() for dB values instead of two almost identical return lines. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Acked-by: Duncan Sands <duncan.sands@math.u-psud.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video/backlight/progear_bl.c')
0 files changed, 0 insertions, 0 deletions