You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform/x86: ideadpad-laptop: Clean up style warnings and checks
This commit makes some style changes to clean up the following
checkpatch warnings and checks at various places in ideapad.c:
- WARNING: quoted string split across lines
- WARNING: space prohibited between function name and open parenthesis '('
- WARNING: braces {} are not necessary for any arm of this statement
- CHECK: Alignment should match open parenthesis
We exceed the 80 column limit to fix the quoted string warning since
strings in question are user visible. See coding style, part 2 for
details.
Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
Acked-by: Ike Panhc <ikepanhc@gmail.com>
Link: https://patch.msgid.link/20260106184830.34426-1-benjamin.philip495@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Copy file name to clipboardExpand all lines: drivers/platform/x86/lenovo/ideapad-laptop.c
+16-23Lines changed: 16 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -219,38 +219,32 @@ MODULE_PARM_DESC(no_bt_rfkill, "No rfkill for bluetooth.");
219
219
staticboolallow_v4_dytc;
220
220
module_param(allow_v4_dytc, bool, 0444);
221
221
MODULE_PARM_DESC(allow_v4_dytc,
222
-
"Enable DYTC version 4 platform-profile support. "
223
-
"If you need this please report this to: platform-driver-x86@vger.kernel.org");
222
+
"Enable DYTC version 4 platform-profile support. If you need this please report this to: platform-driver-x86@vger.kernel.org");
224
223
225
224
staticboolhw_rfkill_switch;
226
225
module_param(hw_rfkill_switch, bool, 0444);
227
226
MODULE_PARM_DESC(hw_rfkill_switch,
228
-
"Enable rfkill support for laptops with a hw on/off wifi switch/slider. "
229
-
"If you need this please report this to: platform-driver-x86@vger.kernel.org");
227
+
"Enable rfkill support for laptops with a hw on/off wifi switch/slider. If you need this please report this to: platform-driver-x86@vger.kernel.org");
230
228
231
229
staticboolset_fn_lock_led;
232
230
module_param(set_fn_lock_led, bool, 0444);
233
231
MODULE_PARM_DESC(set_fn_lock_led,
234
-
"Enable driver based updates of the fn-lock LED on fn-lock changes. "
235
-
"If you need this please report this to: platform-driver-x86@vger.kernel.org");
232
+
"Enable driver based updates of the fn-lock LED on fn-lock changes. If you need this please report this to: platform-driver-x86@vger.kernel.org");
236
233
237
234
staticboolctrl_ps2_aux_port;
238
235
module_param(ctrl_ps2_aux_port, bool, 0444);
239
236
MODULE_PARM_DESC(ctrl_ps2_aux_port,
240
-
"Enable driver based PS/2 aux port en-/dis-abling on touchpad on/off toggle. "
241
-
"If you need this please report this to: platform-driver-x86@vger.kernel.org");
237
+
"Enable driver based PS/2 aux port en-/dis-abling on touchpad on/off toggle. If you need this please report this to: platform-driver-x86@vger.kernel.org");
242
238
243
239
staticbooltouchpad_ctrl_via_ec;
244
240
module_param(touchpad_ctrl_via_ec, bool, 0444);
245
241
MODULE_PARM_DESC(touchpad_ctrl_via_ec,
246
-
"Enable registering a 'touchpad' sysfs-attribute which can be used to manually "
247
-
"tell the EC to enable/disable the touchpad. This may not work on all models.");
242
+
"Enable registering a 'touchpad' sysfs-attribute which can be used to manually tell the EC to enable/disable the touchpad. This may not work on all models.");
248
243
249
244
staticboolymc_ec_trigger__read_mostly;
250
245
module_param(ymc_ec_trigger, bool, 0444);
251
246
MODULE_PARM_DESC(ymc_ec_trigger,
252
-
"Enable EC triggering work-around to force emitting tablet mode events. "
253
-
"If you need this please report this to: platform-driver-x86@vger.kernel.org");
247
+
"Enable EC triggering work-around to force emitting tablet mode events. If you need this please report this to: platform-driver-x86@vger.kernel.org");
0 commit comments