From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Guenter Roeck To: linux-watchdog@vger.kernel.org Cc: Wim Van Sebroeck , Damien Riegel , linux-kernel@vger.kernel.org, Guenter Roeck Subject: [PATCH v2 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers Date: Thu, 24 Dec 2015 14:21:59 -0800 Message-Id: <1450995724-17758-1-git-send-email-linux@roeck-us.net> List-ID: The 'dev' variable in watchdog drivers has a different lifetime than the watchdog character device and should therefore not be used by watchdog drivers. Some of the drivers use the variable to print kernel messages. Those messages are either dropped or changed to use the parent device. One driver sets the variable during initialization to the watchdog driver's parent device, which is wrong and was removed. v2: Use parent device for dev_XXX messages instead of pr_XXX.