]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: mt7621-pinctrl: Test devm_kzalloc for failure while improving the code
authorNishad Kamdar <nishadkamdar@gmail.com>
Tue, 29 Jan 2019 15:45:12 +0000 (21:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 14:38:50 +0000 (15:38 +0100)
commitf2829d070f3da88a500f257013f387c5dc7617db
treeb4df32927e9926be85f552fe854bbd01ffb478bd
parent6ffcce41782749038cd34e1724dff7d055606967
staging: mt7621-pinctrl: Test devm_kzalloc for failure while improving the code

This patch tests the return of devm_kzalloc for failure and
improves the code.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c