Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca4866d7 authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

leds: qpnp-flash: Introduce a "qpnp_flash_register_led_prepare"



Currently legacy "qpnp-flash-v2" and "qti-flash" drivers exposes an API
which needs to be called by the client drivers. The name of the APIs
are different in both flash drivers and both the drivers need to be
enabled in a single defconfig. To keep the client interface un-changed
introduce a function to which the individual flash drivers can register
their exposed APIs. Using this mechanism clients can use a common API
irrespective of the flash driver in use for that specific hardware.

Change-Id: I1ded3d4d9013c6f7f56e0a8952f4b45d20b07326
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent c49400a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment