Commit 4b5bf35
committed
pinctrl: tangier: use devm_kmemdup_array()
JIRA: https://issues.redhat.com/browse/RHEL-113190
commit 91bfcc7
Author: Raag Jadav <raag.jadav@intel.com>
Date: Wed Feb 12 11:55:09 2025 +0530
pinctrl: tangier: use devm_kmemdup_array()
Convert to use devm_kmemdup_array() and while at it, use source size
instead of destination.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Steve Best <sbest@redhat.com>1 parent 11a7214 commit 4b5bf35
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | 527 | | |
529 | 528 | | |
530 | 529 | | |
| |||
543 | 542 | | |
544 | 543 | | |
545 | 544 | | |
546 | | - | |
547 | | - | |
| 545 | + | |
| 546 | + | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
| |||
0 commit comments