diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-01-10 16:19:17 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-02-21 15:57:44 +0300 |
commit | 1251887c0c78fe7fee1eb1e13546c86a75368cef (patch) | |
tree | c6bf79188baf6f50709a8ca9e2eaed645f8baeef /drivers/pinctrl/sh-pfc/pfc-r8a77990.c | |
parent | c3f8dcee7a0cfe2a94103c6213d74eac99122f01 (diff) | |
download | linux-1251887c0c78fe7fee1eb1e13546c86a75368cef.tar.xz |
pinctrl: sh-pfc: checker: Add helper for safe name comparison
Add a helper to check if two strings are identical, skipping NULL
pointers. This simplifies callers.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20200110131927.1029-4-geert+renesas@glider.be
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-r8a77990.c')
0 files changed, 0 insertions, 0 deletions