diff options
author | Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> | 2022-04-27 10:48:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-19 19:57:28 +0300 |
commit | e6d3c99adf54fc1dcd07729990dc32acd3be874b (patch) | |
tree | 53f40b1b021ac45849779b35928da535f4ce879e /drivers/accessibility/speakup/Makefile | |
parent | 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 (diff) | |
download | linux-e6d3c99adf54fc1dcd07729990dc32acd3be874b.tar.xz |
driver: soc: xilinx: Update function prototype for xlnx_unregister_event
As per the current implementation only single callback data gets saved per
event, driver is throwing an error if try to register multiple callback for
same event. So at time of unregistration of any event required things are
event details and callback handler as parameter of xlnx_unregister_event().
As part of adding support of multiple callbacks for same event also require
change in prototype of xlnx_unregister_event().
During unregistration of any events, now required things are event details,
callback handler and agent's private data as parameter of
xlnx_unregister_event().
Also modify the usage of xlnx_unregister_event() in xilinx/zynqmp_power.c
driver as per new implementation.
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com>
Link: https://lore.kernel.org/r/20220427074803.19009-3-abhyuday.godhasara@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/speakup/Makefile')
0 files changed, 0 insertions, 0 deletions