lkml.org 
[lkml]   [2026]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3] iio: magnetometer: rm3100: Modernize locking and refactor control flow
On Wed, Apr 29, 2026 at 2:12 PM Andy Shevchenko
<andriy.shevchenko@intel.com> wrote:
>
> Still the locking wrapper that takes function as a parameter doesn't smell good
> to me. The reason is the same, hiding important details of critical section,
> decreases readability. Also long term maintenance might suffer if one needs to
> alter that piece of code.
>

Good point.

best regards,
maxwell






> --
> With Best Regards,
> Andy Shevchenko
>
>

\
 
 \ /
  Last update: 2026-04-29 22:40    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog