commit | 6d67d256661f537cfff2c18c04f84f78b8fe6b77 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Sep 27 11:50:05 2011 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Wed Mar 07 11:52:44 2012 -0800 |
tree | 932c557803efe9a5ba322f4738f8257d0ba66952 | |
parent | 2e18c88562c94aafbf5cbc15d4ee296024f98c08 [diff] |
msm: pil: Make register code into a bus Make struct pil_device into a wrapper around struct device so that we can group all pil devices in the system onto one logical pil bus. This will allow us to make 'online' sysfs nodes that userspace can poll on in a later patch. Also, add an unregister function so that devices can be removed if a module is removed. Change-Id: I5e6c4286e3fb2149bdf2311fe23588364349eb54 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>