Re: [PATCH -next] EDAC/aspeed: use module_platform_driver to simplify the code

2020-09-16 Thread Borislav Petkov
On Mon, Sep 14, 2020 at 02:53:58PM +0800, Liu Shixin wrote: > module_platform_driver() makes the code simpler by eliminating > boilerplate code. > > Signed-off-by: Liu Shixin > --- > drivers/edac/aspeed_edac.c | 18 +- > 1 file changed, 1 insertion(+), 17 deletions(-) > > diff -

Re: [PATCH -next] EDAC/aspeed: use module_platform_driver to simplify the code

2020-09-13 Thread Joel Stanley
On Mon, 14 Sep 2020 at 06:31, Liu Shixin wrote: > > module_platform_driver() makes the code simpler by eliminating > boilerplate code. > > Signed-off-by: Liu Shixin Reviewed-by: Joel Stanley > --- > drivers/edac/aspeed_edac.c | 18 +- > 1 file changed, 1 insertion(+), 17 delet

[PATCH -next] EDAC/aspeed: use module_platform_driver to simplify the code

2020-09-13 Thread Liu Shixin
module_platform_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Liu Shixin --- drivers/edac/aspeed_edac.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/edac/aspeed_edac.c b/drivers/edac/aspeed_edac.c index fbec28dc6