ANDROID: GKI: disable CONFIG_I2C_CHARDEV

With the proper use of HALs, there should not be any need for the
i2c-dev.ko module, so remove it from the hikey960 config and the
whitelists for symbols.

Bug: 157965270
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I36fec7b3374b27f4c2f4a82ea9bfac7a0bc725ea
This commit is contained in:
Greg Kroah-Hartman 2020-06-04 11:20:18 +02:00
commit db2c395d7b
4 changed files with 15919 additions and 15949 deletions

File diff suppressed because it is too large Load diff

View file

@ -719,22 +719,6 @@
i2c_del_adapter
i2c_parse_fw_timings
# required by i2c-dev.ko
bus_register_notifier
bus_unregister_notifier
cdev_add
cdev_del
device_for_each_child
i2c_adapter_type
i2c_bus_type
i2c_for_each_dev
i2c_get_adapter
i2c_put_adapter
i2c_smbus_xfer
i2c_transfer_buffer_flags
i2c_verify_client
register_chrdev_region
# required by hisi_powerkey.ko
devm_input_allocate_device
devm_request_any_context_irq

View file

@ -2135,17 +2135,6 @@
# required by aes-ce-ccm.ko
ce_aes_expandkey
# required by i2c-dev.ko
bus_register_notifier
bus_unregister_notifier
i2c_adapter_type
i2c_bus_type
i2c_for_each_dev
i2c_get_adapter
i2c_put_adapter
i2c_smbus_xfer
i2c_verify_client
# required by xt_TEE.ko
static_key_slow_dec
static_key_slow_inc

View file

@ -17,7 +17,6 @@ CONFIG_WLCORE_SDIO=m
CONFIG_INPUT_HISI_POWERKEY=m
CONFIG_SERIO_AMBAKMI=m
CONFIG_SERIAL_8250_DW=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_SPI_PL022=m
CONFIG_SPI_SPIDEV=m