Skip to content
Commit 2822b027 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Andy Shevchenko
Browse files

gpio: pch: Cache &pdev->dev to reduce repetition



pch_gpio_probe() repeats the "&pdev->dev" expression several times.  Cache
the result as "struct device *dev" to reduce the repetition.  No functional
change intended.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 82b2cd4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment