I have a Linux device driver based on the Derek Molloy book.
It works on my Beagle Bone Black like a charm using a Linux kernel v5.4.
When I rebuild the same driver for a BBB with Linux kernel v6.1 the build is successful but when I run the driver it doesn't work the GPIO functions seem ignored because button press are not detected and LEDs are not flashing.
gpio_request();
gpio_direction_output();
gpio_export();
What is changed in Linux kernel v6.1 APIs for GPIO management?