Searched hist:fe82857c4b1667fff8108eab77340ae76016215a (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | tegra_gpio.c | fe82857c4b1667fff8108eab77340ae76016215a Fri Sep 25 16:44:08 UTC 2015 Stephen Warren <swarren@nvidia.com> gpio: tegra: use named constants
In order to make it clear what the parameters to set_config() and set_direction() mean, and similarly for the return values from the respective get_*(), define named constants for these values.
Disassembly shows no diff in the generated code, except that the order of the code in the branches of tegra_gpio_get_function() gets modified without affecting behaviour.
Suggested-by: Tom Warren <twarren@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
|