Skip to content

Conversation

@mathieuchopstm
Copy link
Contributor

Replace some manually-defined DT_COMPAT_<> Kconfig macro variables with their automatically generated counterparts. In most cases, this is straightforward as the manually defined macro is named identically to the one generated by the build system.

See also #100215

Replace some manually-defined DT_COMPAT_<> Kconfig macro variables with
their automatically generated counterparts. In most cases, this is
straightforward as the manually defined macro is named identically to the
one generated by the build system.

Signed-off-by: Mathieu Choplain <[email protected]>
@sonarqubecloud
Copy link

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

DT_COMPAT_UHC_MAX3421E := maxim,max3421e_spi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compatible name should probably be fixed as well, to use - instead of _. Even though I am unable to find a rule in the guidelines regarding compatible naming.

compatible: "maxim,max3421e_spi"

https://docs.zephyrproject.org/latest/contribute/style/devicetree.html
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants