summaryrefslogtreecommitdiff
path: root/tstamping.c
diff options
context:
space:
mode:
Diffstat (limited to 'tstamping.c')
0 files changed, 0 insertions, 0 deletions
et-next.git/tree/?h=nds-private-remove&id=c4582f9d7969019dc67234e96340e21dd3712c46'>09d283fe16e5dd6af4f406337e3b46d61aaec46e parent6198f892fafbb3e5875c8a410eb2229a9cbac6ca (diff)
greybus: power_supply: add callback to handle power supply changes
When checking for property changes we may need to act upon that change besides reporting it using power_supply_changed. So, add a function that will be call if the specific property changed. As at it, adjust some indentation of the psy_props_changes array. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat
-rw-r--r--drivers/staging/greybus/power_supply.c28
1 files changed, 20 insertions, 8 deletions
diff --git a/drivers/staging/greybus/power_supply.c b/drivers/staging/greybus/power_supply.c