From: Carlos Chinea Date: Wed, 11 Apr 2012 07:55:53 +0000 (+0300) Subject: HSI: hsi: Rework hsi_event interface X-Git-Tag: v3.4-rc5~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec1c56ff813a198d656d4aa42e5de03e45751bf8;p=pandora-kernel.git HSI: hsi: Rework hsi_event interface Remove custom hack and make use of the notifier chain interfaces for delivering events from the ports to their associated clients. Clients that want to receive port events need to register their callbacks using hsi_register_port_event(). The callbacks can be called in interrupt context. Use hsi_unregestier_port_event() to undo the registration. Signed-off-by: Carlos Chinea Acked-by: Greg Kroah-Hartman Acked-by: Linus Walleij --- Reading git-diff-tree failed