misc: bcm-vk: add open/release
Add open/release to replace private data with context for other methods to use. Reason for the context is because it is allowed for multiple sessions to open sysfs. For each file open, when upper layer queries the response, only those that are tied to a specified open should be returned. Co-developed-by: NDesmond Yan <desmond.yan@broadcom.com> Acked-by: NOlof Johansson <olof@lixom.net> Signed-off-by: NDesmond Yan <desmond.yan@broadcom.com> Signed-off-by: NScott Branden <scott.branden@broadcom.com> Link: https://lore.kernel.org/r/20210120175827.14820-7-scott.branden@broadcom.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
drivers/misc/bcm-vk/bcm_vk_msg.c
0 → 100644
drivers/misc/bcm-vk/bcm_vk_msg.h
0 → 100644
想要评论请 注册 或 登录