analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
924 stars 1.65k forks source link

drivers:adc:ad7124:Fixing Bad Comparison #2168

Closed D-Disha closed 4 months ago

D-Disha commented 5 months ago

Fixing condition check for ID register value.

Pull Request Description

Please replace this with a detailed description and motivation of the changes. You can tick the checkboxes below with an 'x' between square brackets or just check them after publishing the PR. If this PR contains a breaking change, list dependent PRs and try to push all related PRs at the same time.

PR Type

PR Checklist

rbolboac commented 5 months ago

please also add a fixes tag with the commit that is fixed

rbolboac commented 5 months ago

Fixes tag should be immediately above Signed-off-by tag, and there should be a spae between the fixes tag and the commit sha, also, the title of the fixed commit should be full, as shown in the commit history. This is how the commit message should look like:

drivers:adc:ad7124:Fixing Bad Comparison

Fixing condition check for ID register value.

Fixes: 6d75bc3 ("drivers:ad7124:Functional changes")
Signed-off-by: Disha D <Disha.D@analog.com>
D-Disha commented 5 months ago

Fixes tag should be immediately above Signed-off-by tag, and there should be a spae between the fixes tag and the commit sha, also, the title of the fixed commit should be full, as shown in the commit history. This is how the commit message should look like:

drivers:adc:ad7124:Fixing Bad Comparison

Fixing condition check for ID register value.

Fixes: 6d75bc3 ("drivers:ad7124:Functional changes")
Signed-off-by: Disha D <Disha.D@analog.com>

Thank you , I have made those changes now