lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE3SzaTTZNHwDJxCLUUZ-gCSL2qFtchow_+mwq1ghiqCH6zvBw@mail.gmail.com>
Date: Tue, 12 Aug 2025 22:43:58 +0530
From: Akshay Jindal <akshayaj.lkd@...il.com>
To: anshulusr@...il.com, jic23@...nel.org, dlechner@...libre.com, 
	nuno.sa@...log.com, andy@...nel.org
Cc: shuah@...nel.org, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iio: light: ltr390: Add device powerdown functionality
 via devm api

On Tue, Aug 12, 2025 at 10:37 PM Akshay Jindal <akshayaj.lkd@...il.com> wrote:
>
> Use devm_add_action_or_reset to do cleanup when the device is removed.
> Set client data with i2c_set_clientdata() to ensure indio_dev is accessible
> in powerdown function.
>
> Signed-off-by: Akshay Jindal <akshayaj.lkd@...il.com>
> ---
Just realized I did not include a 'Changes since v1' section.

Changes since v1:
-------------------------
- Switched from remove callback to devm_* API for powerdown.
- Modified the changelog accordingly and summary accordingly.

Inorder to avoid redundancy, I am replying on the patch mail.
I am happy to RESEND the patch with updated Changes since v1 section.

Thanks,
Akshay

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ