misc: nct1008: change overheat enable message
Diwakar Tundlam [Fri, 7 Mar 2014 01:47:19 +0000 (17:47 -0800)]
Avoid using the word 'warning' in the log message that reports
successful setup of the overheat warning message. This confuses
tests that scan for errors and warnings on console.

Also changed the level of the message to pr_debug.

Bug 1436329

Change-Id: Idbc6cc5eed42265a1487a9809969bce7edc7a620
Reviewed-on: http://git-master/r/378669
(cherry picked from commit 999acb87fffe01365485333ac28b160a34502efb)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/392043
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/misc/nct1008.c

index 84cc72d..140f556 100644 (file)
@@ -1026,7 +1026,7 @@ static void nct1008_setup_shutdown_warning(struct nct1008_data *data)
                }
        }
 
-       pr_info("NCT%s: Register overheat warning at %ld.%02ldC\n",
+       pr_debug("NCT%s: Enabled overheat logging at %ld.%02ldC\n",
                        (data->chip == NCT72) ? "72" : "1008",
                        warn_temp / 1000, (warn_temp % 1000) / 10);
 }