]> err.no Git - linux-2.6/commit
ide-disk: add proc_idedisk_read_smart() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:37 +0000 (17:36 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:37 +0000 (17:36 +0200)
commit799ee57ac83f019f035024614d95067ce583bc2b
treeffcecfa5b2f43e610db6ade02d9a044c3445c0ba
parent1a2f84ea3e5110872b9aa86763360609b4b04e1b
ide-disk: add proc_idedisk_read_smart() helper

* Factor out common code from proc_idedisk_read_smart_{thresholds,values}()
  to proc_idedisk_read_smart() helper.

* Rename proc_idedisk_read_smart_thresholds() to proc_idedisk_read_st()
  and proc_idedisk_read_smart_values() to proc_idedisk_read_sv().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c