opnsense-src/sys/dev/usb/input
Enji Cooper 1b5bee9b2d chore: replace {0, 0} with {DEV,KOBJ}METHOD_END
Both of the aforementioned macros have been present in FreeBSD
for well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for
`DEVMETHOD_END`.

Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`
and `KOBJMETHOD_END` as appropriate. This helps ensure that
future adaptations to drivers following patterns documented
in driver(9) can be made more easily/without issue.

MFC after:	1 week
Differential Revision:	 https://reviews.freebsd.org/D55414

MFC notes:
- All changes to nvme/nvd were dropped as they didn't apply.
- Change to ufshci_pci.c was adjusted to match code in branch.

Conflicts:
	sys/dev/nvd/nvd.c
	sys/dev/nvme/nvme_sim.c
	sys/dev/ufshci/ufshci_pci.c

(cherry picked from commit 0fc6c3f731a2cca3120798806c330a3081c9424b)
2026-04-25 09:46:07 -07:00
..
atp.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
uep.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uhid.c hidraw(4): Rename to uhid if HIDRAW_MAKE_UHID_ALIAS is specified 2025-08-18 00:00:44 +03:00
uhid_snes.c uhid: Check for errors from copyin() in ioctl handlers 2023-12-25 21:04:00 -05:00
ukbd.c ukbd(4): make debug guard consistent with hkbd(4) 2026-04-22 22:59:03 +03:00
ums.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
usb_rdesc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
usbhid.c usbhid(4): Implement USB_GET_DEVICEINFO ioctl 2025-08-18 00:00:45 +03:00
wmt.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
wsp.c wsp(4): Make evdev interface operational if sysmouse one is not opened 2026-04-22 22:59:04 +03:00