Skip to content

charger: axp2101: Corrects unsigned int comparison #90695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025

Conversation

rriveramcrus
Copy link
Collaborator

Removes an unnecessary comparison of an unsigned int against the value zero.

Removes an unnecessary comparison of an unsigned int against the value
zero.

Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
Copy link

@rriveramcrus rriveramcrus marked this pull request as ready for review May 27, 2025 21:23
@github-actions github-actions bot added area: Charger size: XS A PR changing only a single line of code labels May 27, 2025
@kartben kartben added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 28, 2025
@kartben kartben added the Coverity A Coverity detected issue or its fix label May 28, 2025
@kartben kartben merged commit 48854a8 into zephyrproject-rtos:main May 28, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Charger Coverity A Coverity detected issue or its fix size: XS A PR changing only a single line of code Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 520265] Unsigned compared against 0 in drivers/charger/charger_axp2101.c
3 participants