PNP updates for v4.16-rc1

These make pnpbios_thread_init() use PTR_ERR_OR_ZERO() and remove
 an unnecessary kallsyms include from drivers/pnp/quirks.c (Vasyl
 Gomonovych, Sergey Senozhatsky).
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABCAAGBQJaY/I8AAoJEILEb/54YlRx07cQALUsWqX9pMikyntXOgvV9yhb
 OCmPWxqId5G+CsEmqkdmYrR15lvGp9wuQAEt/5ntdFmsh5tb2zG8U4bQBJ5HSnl1
 HPg8Mo/Io6jbV2TJmAFM33Amxs0KytOIKG5lP3Wm4iVhft5xZj2AKlLhe+IlPr1e
 zfZw7zsgDP6fo6WpWP3OFKrqrdNf3yM6OhOk6dvwLjYG91Jrzu+K5VpjD0fNcwE9
 MdCrL45MHBE+NeYFr2vkSJFmwKV/A8he+vSHG3VqLOmr7CEhpvgsJtxbkiG4TnAa
 piK5pCBDtvwvPRhm3x58/fg4S2+07tuVQK8Vaf/Hz+kdRbg7E7pEH4P9biAgQXhv
 WkEJqZGDeOwfLBdcGtdJTE5Q0fH6WS/Vh4Eup3YQqOB+5q4qAM/V3Gx+E32oJKKR
 hW5Ho+LbJan5FrGErCg53oWFx0C61J/OF4zV1b/jtE7X2CfxUm2v5Y7H5uO5opNc
 q8B/ABaHYrjxFTsgvWZ/ijaa6mGFshh5fovILE+n5+bKMr8kfl63XBKgglTEq8GO
 dBENdEqc6Ns5gY36Z5SQevhvxFPxKKlCjwOqnG7YzSKJf9CSLyWBHGbctAelyIcQ
 dq29x0KuDr4RjO2g4rnV4R0b2Pa4nD8zKpVbGdfgHyggHmxHoiVx5KzYA1g2nhyh
 HcSH4ghuib9ZgFch+17t
 =b0E0
 -----END PGP SIGNATURE-----

Merge tag 'pnp-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull PNP updates from Rafael Wysocki:
 "These make pnpbios_thread_init() use PTR_ERR_OR_ZERO() and remove an
  unnecessary kallsyms include from drivers/pnp/quirks.c (Vasyl
  Gomonovych, Sergey Senozhatsky)"

* tag 'pnp-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PNP: pnpbios: Use PTR_ERR_OR_ZERO()
  PNP: remove unneeded kallsyms include
This commit is contained in:
Linus Torvalds 2018-01-29 10:47:31 -08:00
commit 1c7385dbf8
2 changed files with 1 additions and 5 deletions

View File

@ -581,10 +581,7 @@ static int __init pnpbios_thread_init(void)
init_completion(&unload_sem);
task = kthread_run(pnp_dock_thread, NULL, "kpnpbiosd");
if (IS_ERR(task))
return PTR_ERR(task);
return 0;
return PTR_ERR_OR_ZERO(task);
}
/* Start the kernel thread later: */

View File

@ -21,7 +21,6 @@
#include <linux/slab.h>
#include <linux/pnp.h>
#include <linux/io.h>
#include <linux/kallsyms.h>
#include "base.h"
static void quirk_awe32_add_ports(struct pnp_dev *dev,