Messages in this thread |  | | Date | Thu, 30 Jan 2020 10:09:17 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH v3 5/5] console: Introduce ->exit() callback |
| |
On Mon 2020-01-27 13:47:19, Andy Shevchenko wrote: > Some consoles might require special operations on unregistering. For example, > serial console, when registered in the kernel, keeps power on for entire time, > until it gets unregistered. For such cases to have a balance we would provide > ->exit() callback.
Is there any plan to use this callback, please?
The console init, setup, registration code needs a clean up, definitely. If you plan some rework, I would like to understand the bigger picture before we start adding new callbacks.
Best Regards, Petr
|  |