From: Sachin Kamat Date: Mon, 30 Sep 2013 04:42:51 +0000 (+0530) Subject: watchdog: Remove redundant of_match_ptr X-Git-Tag: v3.13-rc1~42^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85eee81922399ec0be1b2c870f9333b4bca56650;p=pandora-kernel.git watchdog: Remove redundant of_match_ptr of_match_ptr() is a macro used to avoid undefined reference error if CONFIG_OF is used to selectively compile in or out the data structure. It is defined as follows: #ifdef CONFIG_OF #define of_match_ptr(ptr) ptr #else #define of_match_ptr(ptr) NULL #endif In the case of this series, none of the drivers use CONFIG_OF macro to compile out the data structure (i.e., the data structure is always defined). Hence the use of of_match_ptr() does not make any sense. Thus removing it to make the code look simpler for readability. Signed-off-by: Sachin Kamat Acked-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed