aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/imx-tve.c
diff options
context:
space:
mode:
authorFrans Klaver <[email protected]>2015-01-14 09:15:39 +0100
committerSebastian Reichel <[email protected]>2015-01-20 13:58:28 +0100
commit818ca4c8c7be4910f896c702645009f09813347f (patch)
treef33234d6a4fb59ba8aa5750d6bacbcb1aaaad15d /drivers/gpu/drm/imx/imx-tve.c
parenta5f67be5200787aacc7143144bdab7efe7cd268a (diff)
power: reset: ltc2952: remove global variable poweroff_panic
As per Documentation/CodingStyle ch.4, we should keep global variables to a mininum. Move the panic state into the driver data, regardless of whether panic is a system state or not. This removes the need for the custom _init and _exit functions, so replace them with a call to the module_platform_driver() macro. Signed-off-by: Frans Klaver <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
0 files changed, 0 insertions, 0 deletions