[WATCHDOG] pcwd.c move get_support to pcwd_check_temperature_support

Rename get_support function to pcwd_check_temperature_support
so that it is clearer what the function does.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

+7 -7
+7 -7
drivers/char/watchdog/pcwd.c
··· 223 223 pcwd_private.command_mode = 0; 224 224 } 225 225 226 + static inline void pcwd_check_temperature_support(void) 227 + { 228 + if (inb(pcwd_private.io_addr) != 0xF0) 229 + pcwd_private.supports_temp = 1; 230 + } 231 + 226 232 static void pcwd_timer_ping(unsigned long data) 227 233 { 228 234 int wdrst_stat; ··· 629 623 * Init & exit routines 630 624 */ 631 625 632 - static inline void get_support(void) 633 - { 634 - if (inb(pcwd_private.io_addr) != 0xF0) 635 - pcwd_private.supports_temp = 1; 636 - } 637 - 638 626 static inline int get_revision(void) 639 627 { 640 628 int r = PCWD_REVISION_C; ··· 730 730 pcwd_stop(); 731 731 732 732 /* Check whether or not the card supports the temperature device */ 733 - get_support(); 733 + pcwd_check_temperature_support(); 734 734 735 735 /* Get some extra info from the hardware (in command/debug/diag mode) */ 736 736 if (pcwd_private.revision == PCWD_REVISION_A)