Skip to content

Commit

Permalink
Verification: verify code changes from PR review
Browse files Browse the repository at this point in the history
	- verify code changes from PR review

Signed-off-by: McAtee Maxwell <[email protected]>
  • Loading branch information
mcatee-infineon committed Oct 8, 2024
1 parent db10ab4 commit a11b489
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/rtc/rtc_ifx_cat1.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ static cy_stc_syspm_callback_t _ifx_cat1_rtc_pm_cb = {
*/
#define WCO_PULSE_SETS_TO_PPB(wps) (wps * 78125 / 72)

struct ifx_cat1_rtc_config {
uint32_t irqn;
};

struct ifx_cat1_rtc_data {
struct k_spinlock lock;
};
Expand Down Expand Up @@ -340,10 +336,8 @@ static const struct rtc_driver_api ifx_cat1_rtc_driver_api = {
#define INFINEON_CAT1_RTC_INIT(n) \
static struct ifx_cat1_rtc_data ifx_cat1_rtc_data##n; \
\
static const struct ifx_cat1_rtc_config ifx_cat1_rtc_cfg##n; \
\
DEVICE_DT_INST_DEFINE(n, ifx_cat1_rtc_init, NULL, &ifx_cat1_rtc_data##n, \
&ifx_cat1_rtc_cfg##n, PRE_KERNEL_1, CONFIG_RTC_INIT_PRIORITY, \
NULL, PRE_KERNEL_1, CONFIG_RTC_INIT_PRIORITY, \
&ifx_cat1_rtc_driver_api);

Check notice on line 342 in drivers/rtc/rtc_ifx_cat1.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

drivers/rtc/rtc_ifx_cat1.c:342 - DEVICE_DT_INST_DEFINE(n, ifx_cat1_rtc_init, NULL, &ifx_cat1_rtc_data##n, \ - NULL, PRE_KERNEL_1, CONFIG_RTC_INIT_PRIORITY, \ - &ifx_cat1_rtc_driver_api); + DEVICE_DT_INST_DEFINE(n, ifx_cat1_rtc_init, NULL, &ifx_cat1_rtc_data##n, NULL, \ + PRE_KERNEL_1, CONFIG_RTC_INIT_PRIORITY, &ifx_cat1_rtc_driver_api);
DT_INST_FOREACH_STATUS_OKAY(INFINEON_CAT1_RTC_INIT)

0 comments on commit a11b489

Please sign in to comment.