For EE's who work with voltage, (or electric field strength), perhaps they might consider a photodiode to be non-linear, but for an optics person, the photodiode, basically counting photons, with a photocurrent proportional to the photon count, (proportional to second power of the electric field amplitude), is about as linear as you can get. I've measured their linearity over several orders of magnitude (of incident light level), and could not detect any noticeable non-linearity. That is getting off-topic, but since the topic came up, I think it is worth addressing it.