[media] as3645a: move relevant code under __devinit/__devexit
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Apr 2012 13:02:42 +0000 (10:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 17:28:41 +0000 (14:28 -0300)
commitb151d9a231f18e329a5d0619c1c11117295ce031
treee1bfcbd0a8d90995d4b6dcf64e61fdb61d91fa29
parent31ed29f9812a9cb9a1c6d270ff4e19da60046da1
[media] as3645a: move relevant code under __devinit/__devexit

There is no needs to keep .remove under .exit.text. This driver is for a
standalone chip that could be on any board and connected to any i2c bus.

At the same time we don't need to keep the as3645a_probe() after initializing
the device. Therefore we mark it and relevant functions with __devinit tag.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/as3645a.c