kernel/sound/aoa/core/gpio-feature.c
.. .. @@ -1,9 +1,8 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /* 2 3 * Apple Onboard Audio feature call GPIO control 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - *6 - * GPL v2, can be found in COPYING.7 6 * 8 7 * This file contains the GPIO control routines for 9 8 * direct (through feature calls) access to the GPIO .. .. @@ -82,6 +81,7 @@ 82 81 if (altname && (strcmp(audio_gpio, altname) == 0)) 83 82 break; 84 83 } 84 + of_node_put(gpio);85 85 /* still not found, assume not there */ 86 86 if (!np) 87 87 return NULL;