HWICAP_DEVICES
static bool probed_devices[HWICAP_DEVICES];
for (id = 0; id < HWICAP_DEVICES; id++)
if (id < 0 || id >= HWICAP_DEVICES) {
HWICAP_DEVICES,
unregister_chrdev_region(devt, HWICAP_DEVICES);
unregister_chrdev_region(devt, HWICAP_DEVICES);