android_kernel_msm-6.1_noth.../include
Carlos Llamas 1dccea76da ANDROID: power_supply: inline empty power_supply_get_by_phandle_array()
The static empty definition of power_supply_get_by_phandle_array(), used
when CONFIG_OF is not set, is missing an inline keyword. This generates
multiple compiler warnings and adds function-call overhead. This patch
inlines the definition to address such issues.

Fixes:
./include/linux/power_supply.h:405:12: warning: ‘power_supply_get_by_phandle_array’ defined but not used [-Wunused-function]
  405 | static int power_supply_get_by_phandle_array(struct device_node *np,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bug: 183339614
Fixes: dea1a925f6 (ANDROID: power_supply: Add a helper function to retrieve psy array from phandle)
Reported-by: kernelci.org bot <bot@kernelci.org>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Change-Id: I6ad919673d0f649d7701c573196c11795663182d
2021-04-13 00:54:41 +00:00
..
acpi ACPI: scan: Use unique number for instance_no 2021-03-22 17:45:53 +01:00
asm-generic RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
clocksource
crypto Keyrings miscellany 2021-02-23 16:09:23 -08:00
drm Merge 1c273e10bc ("Merge tag 'zonefs-5.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs") into android-mainline 2021-03-20 11:35:38 +01:00
dt-bindings RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
keys
kunit
kvm KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key 2021-03-06 04:18:40 -05:00
linux ANDROID: power_supply: inline empty power_supply_get_by_phandle_array() 2021-04-13 00:54:41 +00:00
math-emu
media Merge f78d76e72a ("Merge tag 'drm-fixes-2021-03-12-1' of git://anongit.freedesktop.org/drm/drm") into android-mainline 2021-03-12 14:05:53 +01:00
memory
misc
net Merge db24726bfe ("Merge tag 'integrity-v5.12-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity") into android-mainline 2021-03-26 10:01:43 +01:00
pcmcia
ras
rdma
scsi scsi: iscsi: Fix race condition between login and sync thread 2021-03-29 21:17:45 -04:00
soc RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
sound Merge 'v5.12-rc2' into android-mainline 2021-03-07 11:20:13 +01:00
target
trace ANDROID: vendor_hooks: Allow multiple attachments to restricted hooks 2021-03-31 09:13:02 +00:00
uapi Merge d93a0d43e3 ("Merge tag 'block-5.12-2021-04-02' of git://git.kernel.dk/linux-block") into android-mainline 2021-04-03 13:53:37 +02:00
vdso
video
xen Xen/gnttab: introduce common INVALID_GRANT_{HANDLE,REF} 2021-03-10 16:39:29 -06:00
OWNERS ANDROID: add initial set of OWNERS 2021-02-25 13:58:58 +00:00