Skip to content

Commit

Permalink
Automatic merge of 'next-test' into merge-test (2024-08-18 09:31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe committed Aug 17, 2024
2 parents 9d85eb3 + fa740ca commit 99b8158
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ DECLARE_STATIC_KEY_FALSE(__percpu_first_chunk_is_paged);
(static_key_enabled(&__percpu_first_chunk_is_paged.key))
#else
#define percpu_first_chunk_is_paged false
#endif /* CONFIG_PPC64 && CONFIG_SMP */
#endif

#include <asm-generic/percpu.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void pmac_backlight_unblank(void)

props = &pmac_backlight->props;
props->brightness = props->max_brightness;
props->power = FB_BLANK_UNBLANK;
props->power = BACKLIGHT_POWER_ON;
backlight_update_status(pmac_backlight);
}
mutex_unlock(&pmac_backlight_mutex);
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/ppc476.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static int avr_probe(struct i2c_client *client)
}

static const struct i2c_device_id avr_id[] = {
{ "akebono-avr", 0 },
{ "akebono-avr" },
{ }
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powernv/eeh-powernv.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ static int pnv_eeh_bridge_reset(struct pci_dev *pdev, int option)
int64_t rc;

/* Hot reset to the bus if firmware cannot handle */
if (!dn || !of_get_property(dn, "ibm,reset-by-firmware", NULL))
if (!dn || !of_property_present(dn, "ibm,reset-by-firmware"))
return __pnv_eeh_bridge_reset(pdev, option);

pr_debug("%s: FW reset PCI bus %04x:%02x with option %d\n",
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powernv/opal-lpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ void __init opal_lpc_init(void)
for_each_compatible_node(np, NULL, "ibm,power8-lpc") {
if (!of_device_is_available(np))
continue;
if (!of_get_property(np, "primary", NULL))
if (!of_property_present(np, "primary"))
continue;
opal_lpc_chip_id = of_get_ibm_chip_id(np);
of_node_put(np);
Expand Down
2 changes: 1 addition & 1 deletion drivers/macintosh/via-pmu-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void __init pmu_backlight_init(void)
}

bd->props.brightness = level;
bd->props.power = FB_BLANK_UNBLANK;
bd->props.power = BACKLIGHT_POWER_ON;
backlight_update_status(bd);

printk(KERN_INFO "PMU Backlight initialized (%s)\n", name);
Expand Down

0 comments on commit 99b8158

Please sign in to comment.