ARM: 9121/1: amba: Drop unused functions about APB/AHB devices add
authorWang Kefeng <wangkefeng.wang@huawei.com>
Mon, 23 Aug 2021 09:41:41 +0000 (10:41 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 19 Oct 2021 09:30:51 +0000 (10:30 +0100)
commit54f5b3615f199673ecb23f0a6847fd9c43aaa012
tree85f21c27ab865fa66312ce48be64bd7068f89d81
parent9d6361922489b4515f669f3e19260b06b82e7698
ARM: 9121/1: amba: Drop unused functions about APB/AHB devices add

No one use the following functions, kill them.

  amba_aphb_device_add()
  amba_apb_device_add()
  amba_apb_device_add_res()
  amba_ahb_device_add()
  amba_ahb_device_add_res()

Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
drivers/amba/bus.c
include/linux/amba/bus.h