NFC: trf7970a: Create startup and shutdown routines
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:36 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:44 +0000 (23:13 +0200)
commitb528281b8b7a9c379baf37720191a799fbc9800c
treeccf37ab8ffd3e4f483c11e561d0589ed5d12ab88
parentceccd6aa50887352e66d0edf68d8be510a639da6
NFC: trf7970a: Create startup and shutdown routines

Encapsulate the code to start up and gracefully
shutdown the driver and trf7970a device.  Doing
this makes adding system suspend/resume support
easier and the resulting code cleaner.

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