summaryrefslogtreecommitdiff
path: root/drivers/input/gameport?id=5bbcece640ef7570ca090a5b35af035fe4ecc7b1
diff options
context:
space:
mode:
authorErick Archer <erick.archer@outlook.com>2024-06-07 19:17:55 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-06-07 11:59:41 -0700
commit5bbcece640ef7570ca090a5b35af035fe4ecc7b1 (patch)
tree6ca5e41de69b269f37966856b35ae28fac382d59 /drivers/input/gameport?id=5bbcece640ef7570ca090a5b35af035fe4ecc7b1
parent06b449d7f7c361dc15ea040966a46ed2c6508f3b (diff)
Input: gameport - use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). This patch has no effect on runtime behavior. Signed-off-by: Erick Archer <erick.archer@outlook.com> Link: https://lore.kernel.org/r/PAXPR02MB72483F512F863C74A4AECA2B8BFB2@PAXPR02MB7248.eurprd02.prod.outlook.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/gameport?id=5bbcece640ef7570ca090a5b35af035fe4ecc7b1')
0 files changed, 0 insertions, 0 deletions