counter_chrdev_add
int counter_chrdev_add(struct counter_device *const counter);
err = counter_chrdev_add(counter);