[PATCH V9 1/2] Serial: allow port drivers to have a default attribute group

2014-07-15 Thread Yoshihiro YUNOMAE
From: Greg Kroah-Hartman Some serial drivers (like 8250), want to add sysfs files. We need to do so in a race-free way, so allow any port to be able to specify an attribute group that should be added at device creation time. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Yoshihiro YUNOMAE

[PATCH V9 1/2] Serial: allow port drivers to have a default attribute group

2014-07-15 Thread Yoshihiro YUNOMAE
From: Greg Kroah-Hartman gre...@linuxfoundation.org Some serial drivers (like 8250), want to add sysfs files. We need to do so in a race-free way, so allow any port to be able to specify an attribute group that should be added at device creation time. Signed-off-by: Greg Kroah-Hartman