diff options
| author | Marek Vasut <[email protected]> | 2018-12-12 02:39:55 +0100 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-12-14 15:19:03 +0100 |
| commit | 7a04aaa32cbc449588fecc77da637e0da771283f (patch) | |
| tree | adfc887e506fc1ee6f672119cdcf677dd87a9688 /include/linux | |
| parent | 90adb0979947ab9ee2bd5fffa28c6812a47cd7f2 (diff) | |
gpio: pca953x: Factor out common code from device_pca95xx_init()
The PCA957x and PCA953x init functions are almost the same, except for
the different register mapping and one extra write to BKEN register in
case of PCA957x. Factor out the common code.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions