]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Remove incorrect of_node_put() call
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:15 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:42 +0000 (23:13 +0200)
commitf0baa3c78c36b561102f4856a579d53a48817691
treed1d5031fe707f8c81985ec38436fe7f33afb677b
parent3f2fd6429d1f65e5cae4d5598b33b6eb651ccb7a
NFC: trf7970a: Remove incorrect of_node_put() call

of_property_read_u32() does not take a reference
to the specified OF node so don't call of_node_put()
in trf7970a_get_autosuspend_delay().

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c