NFC: trf7970a: Add 'autosuspend-delay' DTS property
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:40 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:28 +0000 (00:37 +0200)
commitfd0c8280cf47104e87dc10828ded541b4e84deda
tree8a27b77b32be6504a12dc610c611976ecf0af2dc
parent18422e686ef043b9abe004326ac9ffa1e38b81ec
NFC: trf7970a: Add 'autosuspend-delay' DTS property

The trf7970a driver currently uses a fixed autosuspend delay of 30 seconds.
To enable users to customize the delay as they see fit, add support for the
new 'autosuspend-delay' DTS property (part of the nfc node) which can
override the default 30 seconds.

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