Re: [PATCH 3/3] ACPI / device_sysfs: Add eject show attr to monitor eject status

2019-06-02 Thread Chester Lin
On Fri, May 31, 2019 at 06:38:59AM -0700, Greg KH wrote: > On Fri, May 31, 2019 at 02:56:42PM +0800, Chester Lin wrote: > > An acpi_eject_show attribute for users to monitor current status because > > sometimes it might take time to finish an ejection so we need to know > > whether it is still in p

Re: [PATCH 3/3] ACPI / device_sysfs: Add eject show attr to monitor eject status

2019-05-31 Thread Greg KH
On Fri, May 31, 2019 at 02:56:42PM +0800, Chester Lin wrote: > An acpi_eject_show attribute for users to monitor current status because > sometimes it might take time to finish an ejection so we need to know > whether it is still in progress or not. > > Signed-off-by: Chester Lin > --- > drivers

[PATCH 3/3] ACPI / device_sysfs: Add eject show attr to monitor eject status

2019-05-30 Thread Chester Lin
An acpi_eject_show attribute for users to monitor current status because sometimes it might take time to finish an ejection so we need to know whether it is still in progress or not. Signed-off-by: Chester Lin --- drivers/acpi/device_sysfs.c | 20 +++- drivers/acpi/internal.h