Proper way to get device file minor number from struct file