summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-17 17:08:07 +0530
committerInki Dae <inki.dae@samsung.com>2014-06-24 11:11:54 +0900
commit0013fc9e550a0f9d2c4a19e553292680b6fdb283 (patch)
tree887f15fe6cf93fad2e7ae342d488594a79cf15fb /fs/btrfs/sysfs.c
parentdcdffedaf277cd344c49650ee13e622d74af627c (diff)
downloadop-kernel-dev-0013fc9e550a0f9d2c4a19e553292680b6fdb283.zip
op-kernel-dev-0013fc9e550a0f9d2c4a19e553292680b6fdb283.tar.gz
drm/exynos: Fix de-registration ordering
'exynos_drm_pdev' was not getting unregistered if platform_driver_register() failed. Fix the ordering to allow this. This also fixes the below warning by moving the #endif macro. While at it also fix the ordering in the exit function so that de-registration happens in opposite order of registration. drivers/gpu/drm/exynos/exynos_drm_drv.c:768:1: warning: label 'err_unregister_pd' defined but not used [-Wunused-label] Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud