lkml.org 
[lkml]   [2020]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] iio: adc: at91-adc: Use devm_platform_ioremap_resource
On Thu, Apr 9, 2020 at 7:00 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
> On 09/04/2020 20:41:23+0530, Aishwarya R wrote:
> > Use the helper function that wraps the calls to
> > platform_get_resource() and devm_ioremap_resource()
> > together.

> Please elaborate the actual value of doing that.

Please, elaborate actual value of not doing that.

Yes, I know that you are p* off of these changes, but why you not
going further and forbid all clean ups we are doing in the code?

To the point. Above change is reducing code base and showing the new
comers modern APIs to use.

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2020-04-10 12:55    [W:0.473 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site