aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDaniel Gl?ckner <[email protected]>2010-08-10 18:02:25 -0700
committerLinus Torvalds <[email protected]>2010-08-11 08:59:08 -0700
commit5ba1821d1b4a506f8c9be93d962f22b24b6140a5 (patch)
treee083b9e40a9573eb362e3b4c1a91dc0071183a7d /scripts/patch-kernel
parent9c4ba9466117b16a2b85034bb87db528aaeb3f07 (diff)
gpiolib: get rid of struct poll_desc and worklet
As sysfs_notify_dirent has been made irq safe, there is no reason to not call it directly from irq. With the work_struct removed, the remaining element in poll_desc is a sysfs_dirent pointer which may not be NULL. We can therefore store it directly in the idr and pass it as context to the irq handler. Most part of the patch deals with renaming defines and variables to reflect their new use without functional change. I also took the opportunity to initialize the idr statically. Signed-off-by: Daniel Gl?ckner <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions