summaryrefslogtreecommitdiff
path: root/proto_ipv6.c
AgeCommit message (Expand)AuthorFilesLines
2014-02-24dissectors: Get rid of unecessary includes of protos.hTobias Klauser1-1/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+112
='commit-info'> authorRui Miguel Silva <rui.silva@linaro.org>2016-08-16 22:31:55 +0100 committerGreg Kroah-Hartman <gregkh@google.com>2016-08-18 17:34:01 +0200 commitc4582f9d7969019dc67234e96340e21dd3712c46 (patch) tree09d283fe16e5dd6af4f406337e3b46d61aaec46e 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