But generally speaking, yes, it's good to keep fixes simple, and do
cleanups later on top. Keeping that in mind, maybe this current patch is
fine as it is. Although... if the init is done in pre_enable, shouldn't
the deinit be done in post_disable?
Yes, I will move the deinit to _bridge_post_disable().
So, if we keep the fix limited to deinit in _bridge_post_disable(), then
the cleanup would involve dropping the init calls from _bridge_enable().
And then the patch-12 would do 3 things -
1. Drop older _bridge_pre_enable()
2. Rename old _bridge_enable() to _bridge_pre_enable()
3. Since the _old_ _bridge_enable() has the calls dropped in the
cleanup patch, add those calls again in the _new_
_bridge_pre_enable() (which are really the same function
bodies).
Do you think we can instead skip the cleanup patch, as well as #3 from
patch-12?
Fun fact: We already have patch-4 which fixes the order of init calls in
_bridge_enable()! =)