v4l2_i2c_subdev_unregister(9)
π v4l2_i2c_subdev_unregister(9) β the Kernel API Manual moment
okay so bestie, welcome to the glow-down era of your v4l2 subdev π this is a page straight out of the Kernel API Manual, and it's literally the "break up with your subdev" function. no cap.
β¨ NAME β¨
v4l2_i2c_subdev_unregister β the one where you unregister a v4l2_subdev π like, it's over, it served its purpose, we're closing the tab on it.
πΈ SYNOPSIS πΈ
void v4l2_i2c_subdev_unregister (struct v4l2_subdev *sd );
the way that return type is just void... it gives "no thoughts, just vibes, and also no error code" π
π¦ ARGUMENTS π¦
sdβ pointer tostruct v4l2_subdevπ« that's the subdev you're sending off. yes, a pointer. you hand it the address of the struct, not the struct itself. slay, but carefully π«Ά
π₯ SEE ALSO π₯
okay this list is highkey a whole friend group, so let's do the vibe check on everybody π
- Kernel file
./include/media/v4l2-common.h v4l2_ctrl_query_fill(9)enum v4l2_i2c_tuner_type(9)v4l2_i2c_new_subdev(9)v4l2_i2c_new_subdev_board(9)v4l2_i2c_subdev_set_name(9)v4l2_i2c_subdev_init(9)v4l2_i2c_subdev_addr(9)v4l2_i2c_tuner_addrs(9)v4l2_spi_new_subdev(9)v4l2_spi_subdev_init(9)v4l2_spi_subdev_unregister(9)v4l_bound_align_image(9)v4l2_find_nearest_size_conditional(9)v4l2_find_nearest_size(9)v4l2_g_parm_cap(9)v4l2_s_parm_cap(9)enum v4l2_pixel_encoding(9)struct v4l2_format_info(9)v4l2_get_link_freq(9)v4l2_get_active_data_lanes(9)v4l2_link_freq_to_bitmap(9)devm_v4l2_sensor_clk_get(9)devm_v4l2_sensor_clk_get_legacy(9)
like, v4l2_i2c_subdev_init(9) is literally the meet-cute and this page is the breakup β they're linked, iykyk π the spi siblings showed up too (v4l2_spi_new_subdev(9), v4l2_spi_subdev_init(9), v4l2_spi_subdev_unregister(9)), plus a whole entourage of size, param, pixel-encoding and clock-freq friends. click through, they're all iconic β
fr fr bestie: this page is short because the function is short. don't go looking for extra options or return values, there genuinely aren't any here π
and that's the whole page, periodt π§π
sign-off szn: this little beauty lives over in ./include/media, and the manual's dated October 2026 β so go unregister that subdev, bestie β you ate ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms