Re: [PATCH 2/6] hvcs: Remove sysfs file prior to vio unregister

2023-02-01 Thread Greg KH
On Wed, Feb 01, 2023 at 01:57:39PM -0600, Brian King wrote: > This moves the removal of the rescan sysfs attribute to occur > before the call to unregister the vio to ensure the removal > does not fail due to the vio driver already being freed. > > Signed-off-by: Brian King > --- > drivers/tty/h

[PATCH 2/6] hvcs: Remove sysfs file prior to vio unregister

2023-02-01 Thread Brian King
This moves the removal of the rescan sysfs attribute to occur before the call to unregister the vio to ensure the removal does not fail due to the vio driver already being freed. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff