Re: [PATCH] device: Fix comment for driver_data in struct device

2019-02-05 Thread David Engraf
On 05.02.19 at 14:23, Andy Shevchenko wrote: On Tue, Feb 05, 2019 at 01:19:52PM +0100, David Engraf wrote: dev_set_drvdata/dev_get_drvdata is used to access driver_data in struct device. The original comment might be slight confusing, though we all know the concept of getters and setters. Ok

Re: [PATCH] device: Fix comment for driver_data in struct device

2019-02-05 Thread Andy Shevchenko
On Tue, Feb 05, 2019 at 01:19:52PM +0100, David Engraf wrote: > dev_set_drvdata/dev_get_drvdata is used to access driver_data > in struct device. The original comment might be slight confusing, though we all know the concept of getters and setters. > void*platform_data; /* Platf