Skip to content

Commit

Permalink
Automatic merge of 'next-test' into merge-test (2024-02-18 10:25)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe committed Feb 17, 2024
2 parents c703846 + 3281366 commit f332cdc
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 31 deletions.
6 changes: 2 additions & 4 deletions drivers/macintosh/therm_windtunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,9 @@ static int therm_of_probe(struct platform_device *dev)
return -ENODEV;
}

static int
therm_of_remove( struct platform_device *dev )
static void therm_of_remove(struct platform_device *dev)
{
i2c_del_driver( &g4fan_driver );
return 0;
}

static const struct of_device_id therm_of_match[] = {{
Expand All @@ -501,7 +499,7 @@ static struct platform_driver therm_of_driver = {
.of_match_table = therm_of_match,
},
.probe = therm_of_probe,
.remove = therm_of_remove,
.remove_new = therm_of_remove,
};

struct apple_thermal_info {
Expand Down
6 changes: 2 additions & 4 deletions drivers/macintosh/windfarm_pm112.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,16 +662,14 @@ static int wf_pm112_probe(struct platform_device *dev)
return 0;
}

static int wf_pm112_remove(struct platform_device *dev)
static void wf_pm112_remove(struct platform_device *dev)
{
wf_unregister_client(&pm112_events);
/* should release all sensors and controls */
return 0;
}

static struct platform_driver wf_pm112_driver = {
.probe = wf_pm112_probe,
.remove = wf_pm112_remove,
.remove_new = wf_pm112_remove,
.driver = {
.name = "windfarm",
},
Expand Down
5 changes: 2 additions & 3 deletions drivers/macintosh/windfarm_pm121.c
Original file line number Diff line number Diff line change
Expand Up @@ -992,15 +992,14 @@ static int pm121_probe(struct platform_device *ddev)
return 0;
}

static int pm121_remove(struct platform_device *ddev)
static void pm121_remove(struct platform_device *ddev)
{
wf_unregister_client(&pm121_events);
return 0;
}

static struct platform_driver pm121_driver = {
.probe = pm121_probe,
.remove = pm121_remove,
.remove_new = pm121_remove,
.driver = {
.name = "windfarm",
.bus = &platform_bus_type,
Expand Down
7 changes: 2 additions & 5 deletions drivers/macintosh/windfarm_pm72.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,17 +775,14 @@ static int wf_pm72_probe(struct platform_device *dev)
return 0;
}

static int wf_pm72_remove(struct platform_device *dev)
static void wf_pm72_remove(struct platform_device *dev)
{
wf_unregister_client(&pm72_events);

/* should release all sensors and controls */
return 0;
}

static struct platform_driver wf_pm72_driver = {
.probe = wf_pm72_probe,
.remove = wf_pm72_remove,
.remove_new = wf_pm72_remove,
.driver = {
.name = "windfarm",
},
Expand Down
8 changes: 3 additions & 5 deletions drivers/macintosh/windfarm_pm81.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ static int wf_smu_probe(struct platform_device *ddev)
return 0;
}

static int wf_smu_remove(struct platform_device *ddev)
static void wf_smu_remove(struct platform_device *ddev)
{
wf_unregister_client(&wf_smu_events);

Expand Down Expand Up @@ -761,13 +761,11 @@ static int wf_smu_remove(struct platform_device *ddev)
/* Destroy control loops state structures */
kfree(wf_smu_sys_fans);
kfree(wf_smu_cpu_fans);

return 0;
}

static struct platform_driver wf_smu_driver = {
.probe = wf_smu_probe,
.remove = wf_smu_remove,
.probe = wf_smu_probe,
.remove_new = wf_smu_remove,
.driver = {
.name = "windfarm",
},
Expand Down
8 changes: 3 additions & 5 deletions drivers/macintosh/windfarm_pm91.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ static int wf_smu_probe(struct platform_device *ddev)
return 0;
}

static int wf_smu_remove(struct platform_device *ddev)
static void wf_smu_remove(struct platform_device *ddev)
{
wf_unregister_client(&wf_smu_events);

Expand Down Expand Up @@ -691,13 +691,11 @@ static int wf_smu_remove(struct platform_device *ddev)
kfree(wf_smu_slots_fans);
kfree(wf_smu_drive_fans);
kfree(wf_smu_cpu_fans);

return 0;
}

static struct platform_driver wf_smu_driver = {
.probe = wf_smu_probe,
.remove = wf_smu_remove,
.probe = wf_smu_probe,
.remove_new = wf_smu_remove,
.driver = {
.name = "windfarm",
},
Expand Down
7 changes: 2 additions & 5 deletions drivers/macintosh/windfarm_rm31.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,17 +668,14 @@ static int wf_rm31_probe(struct platform_device *dev)
return 0;
}

static int wf_rm31_remove(struct platform_device *dev)
static void wf_rm31_remove(struct platform_device *dev)
{
wf_unregister_client(&rm31_events);

/* should release all sensors and controls */
return 0;
}

static struct platform_driver wf_rm31_driver = {
.probe = wf_rm31_probe,
.remove = wf_rm31_remove,
.remove_new = wf_rm31_remove,
.driver = {
.name = "windfarm",
},
Expand Down
2 changes: 2 additions & 0 deletions include/uapi/linux/auxvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#define AT_HWCAP2 26 /* extension of AT_HWCAP */
#define AT_RSEQ_FEATURE_SIZE 27 /* rseq supported feature size */
#define AT_RSEQ_ALIGN 28 /* rseq allocation alignment */
#define AT_HWCAP3 29 /* extension of AT_HWCAP */
#define AT_HWCAP4 30 /* extension of AT_HWCAP */

#define AT_EXECFN 31 /* filename of program */

Expand Down

0 comments on commit f332cdc

Please sign in to comment.