This is only an API consolidation and should make things more readable
it replaces var * HZ / 1000 by msecs_to_jiffies(var).
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
                /* Reschedule the watchdog */
                if (bus->wd_timer_valid)
                        mod_timer(&bus->timer,
-                                 jiffies + BRCMF_WD_POLL_MS * HZ / 1000);
+                                 jiffies + msecs_to_jiffies(BRCMF_WD_POLL_MS));
        }
 }
 
                           dynamically changed or in the first instance
                         */
                        bus->timer.expires =
-                               jiffies + BRCMF_WD_POLL_MS * HZ / 1000;
+                               jiffies + msecs_to_jiffies(BRCMF_WD_POLL_MS);
                        add_timer(&bus->timer);
 
                } else {
                        /* Re arm the timer, at last watchdog period */
                        mod_timer(&bus->timer,
-                               jiffies + BRCMF_WD_POLL_MS * HZ / 1000);
+                               jiffies + msecs_to_jiffies(BRCMF_WD_POLL_MS));
                }
 
                bus->wd_timer_valid = true;