x86/APM: drop the duplicate APM_MINOR_DEV macro
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 28 Jul 2023 01:11:20 +0000 (18:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2023 12:00:32 +0000 (14:00 +0200)
commit4ba2909638a29630a346d6c4907a3105409bee7d
tree1b6bc64cc0596931bf74086857b351ec97d715a3
parentfdf0eaf11452d72945af31804e2a1048ee1b574c
x86/APM: drop the duplicate APM_MINOR_DEV macro

This source file already includes <linux/miscdevice.h>, which contains
the same macro. It doesn't need to be defined here again.

Fixes: 874bcd00f520 ("apm-emulation: move APM_MINOR_DEV to include/linux/miscdevice.h")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: x86@kernel.org
Cc: Sohil Mehta <sohil.mehta@intel.com>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20230728011120.759-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/apm_32.c