commit | 8b052dd64f998c7c8e0a0fd1d9feabc0e9bcfe42 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jul 24 14:39:55 2018 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jul 27 09:57:31 2018 +1000 |
tree | 74ebc5c8059f6944e6adbe670fdda3ab0a1f9c21 | |
parent | 0ab5fe5374743d5a279b1ff6297ef2c54d06cd5f [diff] |
fsi: sbefifo: Convert to use the new chardev This converts FSI sbefifo to use the new fsi-core controlled chardev allocator and use a real cdev instead of a miscdev. One side effect is to fix the object lifetime by removing the use of devm_kzalloc() for something that contains kobjects, and using proper reference counting. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>