def METHOD_NAME(self):
    """
    Retrieves watchdog device
    """
    global watchdog
    wdt_main_dev_list = [dev for dev in os.listdir(
        "/dev/") if dev.startswith("watchdog") and self._is_wd_main(dev)]
    if not wdt_main_dev_list:
        return (None, None)
    wdt_main_dev_name = wdt_main_dev_list[0]
    watchdog_device_path = "/dev/{}".format(wdt_main_dev_name)
    if not watchdog:
       watchdog = os.open(watchdog_device_path, os.O_RDWR)
    return watchdog, wdt_main_dev_name