ARM: tegra: loki: remove duplicate nvavp registration
nvavp is already registered using DT. So no need to register it again.
Without this patch, you will see the following log:
[ 1.125066] ------------[ cut here ]------------
[ 1.125089] WARNING: at /dvs/git/dirty/git-master_android/kernel/fs/sysfs/dir.c:530 sysfs_add_one+0x8c/0xac()
[ 1.125099] sysfs: cannot create duplicate filename '/devices/platform/host1x/nvavp'
[ 1.125109] Modules linked in:
[ 1.125129] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
3.10.24-gaf8ff60 #1
[ 1.125163] [<
c001651c>] (unwind_backtrace+0x0/0x140) from [<
c0012cac>] (show_stack+0x18/0x1c)
[ 1.125187] [<
c0012cac>] (show_stack+0x18/0x1c) from [<
c0063494>] (warn_slowpath_common+0x54/0x74)
[ 1.125206] [<
c0063494>] (warn_slowpath_common+0x54/0x74) from [<
c0063560>] (warn_slowpath_fmt+0x38/0x48)
[ 1.125225] [<
c0063560>] (warn_slowpath_fmt+0x38/0x48) from [<
c01a0140>] (sysfs_add_one+0x8c/0xac)
[ 1.125244] [<
c01a0140>] (sysfs_add_one+0x8c/0xac) from [<
c01a0374>] (create_dir+0x64/0xc4)
[ 1.125262] [<
c01a0374>] (create_dir+0x64/0xc4) from [<
c01a06e0>] (sysfs_create_dir+0x9c/0x100)
[ 1.125283] [<
c01a06e0>] (sysfs_create_dir+0x9c/0x100) from [<
c02c05d0>] (kobject_add_internal+0xa0/0x240)
[ 1.125303] [<
c02c05d0>] (kobject_add_internal+0xa0/0x240) from [<
c02c0ab4>] (kobject_add+0x48/0x98)
[ 1.125322] [<
c02c0ab4>] (kobject_add+0x48/0x98) from [<
c0408ce0>] (device_add+0xd8/0x5a8)
[ 1.125342] [<
c0408ce0>] (device_add+0xd8/0x5a8) from [<
c040d674>] (platform_device_add+0xc4/0x260)
[ 1.125363] [<
c040d674>] (platform_device_add+0xc4/0x260) from [<
c0c005e8>] (loki_panel_init+0x3e8/0x48c)
[ 1.125381] [<
c0c005e8>] (loki_panel_init+0x3e8/0x48c) from [<
c0bffdf0>] (tegra_loki_dt_init+0x47c/0x52c)
[ 1.125402] [<
c0bffdf0>] (tegra_loki_dt_init+0x47c/0x52c) from [<
c0bee6b4>] (customize_machine+0x1c/0x40)
[ 1.125422] [<
c0bee6b4>] (customize_machine+0x1c/0x40) from [<
c000869c>] (do_one_initcall+0xe4/0x198)
[ 1.125442] [<
c000869c>] (do_one_initcall+0xe4/0x198) from [<
c0becb98>] (kernel_init_freeable+0x100/0x1cc)
[ 1.125463] [<
c0becb98>] (kernel_init_freeable+0x100/0x1cc) from [<
c0875254>] (kernel_init+0x10/0xec)
[ 1.125485] [<
c0875254>] (kernel_init+0x10/0xec) from [<
c000f018>] (ret_from_fork+0x14/0x20)
[ 1.125528] ---[ end trace
1b75b31a2719ed1c ]---
Change-Id: I5caa7a7b8605d38de4677cbc671f256afea04d1c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/381220
Reviewed-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Sumit Singh <sumsingh@nvidia.com>