]> Gentwo Git Trees - linux/.git/commit
intel_idle: Remove unnecessary address-of operators
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>
Mon, 18 Aug 2025 08:51:24 +0000 (14:21 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2025 15:32:25 +0000 (17:32 +0200)
commit91418337a27d800b33d6d391f565b1fa2c7ff75c
treee36131914f51722884047693de765b295cc1ef20
parent17224c1d2574d29668c4879e1fbf36d6f68cd22b
intel_idle: Remove unnecessary address-of operators

Remove redundant address-of operators (&) when assigning the
intel_idle() function pointer to the .enter field in cpuidle_state
structures.in C, the & is not needed for function names.

This change improves code consistency and readability by using the
more conventional form without the & operator.

No functional change intended.

Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Link: https://patch.msgid.link/20250818085124.3897921-1-kaushlendra.kumar@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c