rk3188 lcdc: fix kernel panic when rk3188 lcdc probe failed
memory allocated by devm_kzalloc will be freed automatically
on driver detach
0.881936] Unable to handle kernel paging request at virtual address
6c6175a4
[ 0.919447] pgd =
c0404000
[ 0.922174] [
6c6175a4] *pgd=
00000000
[ 0.925767] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 0.930742] CPU: 0 Not tainted (3.0.36+ #573)
[ 0.935463] PC is at bus_probe_device+0x10/0x40
[ 0.940002] LR is at device_add+0x4c0/0x58c
[ 0.944192] pc : [<
c064a470>] lr : [<
c06494d4>] psr:
20000013
[ 0.944203] sp :
f0043f08 ip :
02d4e000 fp :
00000000
[ 0.955692] r10:
c041ad14 r9 :
f023d5c0 r8 :
f00038c0
[ 0.960923] r7 :
00000000 r6 :
00000000 r5 :
f0258c08 r4 :
f0258c00
[ 0.967458] r3 :
6c617574 r2 :
c0aad790 r1 :
60000013 r0 :
f0258c00
[ 0.973995] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 0.981313] Control:
10c5387d Table:
6040404a DAC:
00000015